home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / mail / mh / contrib / mh-faq / part1.Z / part1
Encoding:
Internet Message Format  |  1994-11-10  |  79.4 KB

  1. Path: bloom-beacon.mit.edu!senator-bedfellow.mit.edu!faqserv
  2. From: Bill Wohler <wohler@newt.com>
  3. Newsgroups: comp.mail.mh,comp.answers,news.answers
  4. Subject: MH Frequently Asked Questions (FAQ) with Answers
  5. Supersedes: <mh-faq/part1_782871234@rtfm.mit.edu>
  6. Followup-To: poster
  7. Date: 10 Nov 1994 01:25:52 GMT
  8. Organization: Newt Software, Menlo Park, California, USA
  9. Lines: 2300
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 24 Dec 1994 01:21:56 GMT
  12. Message-ID: <mh-faq/part1_784430516@rtfm.mit.edu>
  13. Reply-To: Bill Wohler <wohler@newt.com>
  14. NNTP-Posting-Host: bloom-picayune.mit.edu
  15. Summary: This document answers Frequently Asked Questions about MH, a
  16.      sophisticated mail interface.  It should be read by new MH
  17.      users and comp.mail.mh readers and before posting to this group.
  18. Keywords: FAQ mh mail question answer pop slocal letter signature
  19.       draft message folder xmh olmh vmail vmailtool comp repl
  20.       forw scan SMTP bind mh-e MIME plum exmh
  21. X-Last-Updated: 1994/11/09
  22. Originator: faqserv@bloom-picayune.MIT.EDU
  23. Xref: bloom-beacon.mit.edu comp.mail.mh:3145 comp.answers:8248 news.answers:29024
  24.  
  25. Archive-name: mh-faq/part1
  26. Last-modified: $Date: 1994/11/08 04:29:12 $
  27. Version: $Revision: 94.11 $
  28. Posting-Frequency: monthly
  29.  
  30.   This is a living list of frequently asked questions on the mailer
  31.   user interface, Mail Handler, or MH.  The point of this is to
  32.   circulate existing information, and avoid rehashing old answers.
  33.   Better to build on top than start again.  Please read this document
  34.   before ever posting to this newsgroup.
  35.  
  36.   This article is posted monthly.  If it has already expired and
  37.   you're not reading this, you can hope that you saved Question 1.3,
  38.   "Where can I get MH," so that you can get a copy yourself.
  39.  
  40.   Please do not post an answer when someone posts a frequently asked
  41.   question; rather, email the relevant section of the FAQ to eliminate
  42.   unnecessary traffic in this newsgroup.  Note that I usually do this.
  43.  
  44.   This list depends on your comments, additions and fixes: please send
  45.   them to Bill Wohler <wohler@newt.com>.
  46.  
  47.   
  48. Subject: Table of Contents
  49. From: Preface
  50.  
  51. Legend: + new, - deleted, ! changed
  52. _______________
  53.  
  54. 1. Introduction
  55.  
  56.  1.1  Why should I use MH?
  57.  1.2  What is the current version/status of MH?
  58.  1.3  Where can I get MH?
  59. !1.4  What references exist for MH?
  60. !1.5  What other MH software is available?
  61.  1.6  How can I print a MH manual?
  62.  1.7  How should I report bugs?
  63.  1.8  How can I convert from my mailer to MH?
  64. ______________
  65.  
  66. 2. Building MH
  67.  
  68.  2.1  What machines does MH run on?
  69.  2.2  How do I build MH?
  70.  2.3  What options should I use?
  71.  2.4  Where can I get POP3?
  72.  2.5  Does MH support IMAP?
  73.  2.6  Why does "mailgroup mail" only affect inc and not slocal?
  74. +2.7  How can I build MH on Solaris?
  75. +2.8  How can I build MH on Linux?
  76. _____________________
  77.  
  78. 3. Scanning & Reading
  79.  
  80.  3.1  What do I do if scan shows the wrong date?
  81. !3.2  How would one go about reading Usenet with MH?
  82.  3.3  How can I search through multiple folders?
  83.  3.4  Why don't MH format commands such as %(friendly) work?
  84. !3.5  Why doesn't "show" display all of a MIME message?
  85. +3.6  Can I get show not to run "less" so much on MIME messages?
  86. _________
  87.  
  88. 4. Filing
  89.  
  90.  4.1  Can I append MH messages to a UNIX mailbox format file?
  91.  4.2  Can I append MH messages to a GNU Emacs rmail BABYL-format file?
  92.  4.3  Why do I get ".../.mh_sequences is poorly formatted?"
  93. _______________________
  94.  
  95. 5. Composing & Replying
  96.  
  97.  5.1  Why does repl add a "Re:" to a message that already has one?
  98.  5.2  How do I include messages in repl with or without ">"?
  99.  5.3  How can I eliminate duplicate copies of letters to myself?
  100. !5.4  How can I include my signature?
  101.  5.5  How do I call my editor with arguments?
  102. !5.6  How can I digestify messages in a folder for mail to another user?
  103.  5.7  How can I change my return address?
  104.  5.8  How can I change my From header?
  105.  5.9  How can I save a copy of all messages I send?
  106.  5.10 Can the folder in Fcc: be dynamically specified?
  107. __________
  108.  
  109. 6. Posting
  110.  
  111.  6.1  What to do with "Problems with edit - draft removed".
  112.  6.2  Can I run my message through a program (e.g., ispell) before sending?
  113.  6.3  What to do with "bad address 'xxx' - no at-sign after local-part".
  114. !6.4  Fixing "post: problem initializing server; [BHST] no servers available"
  115.  6.5  Fixing "post: problem initializing server; [RPLY] 503 Sender
  116.       already specified"
  117.  6.6  Fixing "post: unexpected response; [BHST] no socket opened"
  118.  6.7  How do I fix the "X-Authentication-Warning" header?
  119. _______________
  120.  
  121. 7. Mail Filters
  122.  
  123.  7.1  What mail filters are available?
  124.  7.2  Why slocal writes messages to system mailbox that from(1) can't read.
  125.  7.3  Where can I read about slocal and the format of .maildelivery?
  126.  7.4  How do I debug my .maildelivery file?
  127.  7.5  Why isn't slocal working?
  128. _______
  129.  
  130. 8. mh-e
  131.  
  132.  8.1  Is there documentation for mh-e?
  133.  8.2  How can mail aliases can be expanded in mh-e?
  134. ______
  135.  
  136. 9. Xmh
  137.  
  138.  9.1  How can I get xmh to use Emacs as the editor?
  139.  9.2  Does xmh support subfolders?
  140.  9.3  How do I precede included messages with ">" when replying in xmh?
  141.  
  142. Appendix
  143.  
  144. !Glossary, Acknowledgments, Copyright and Warranty
  145.  Switching xmh's editor
  146.  babyl2mh.pl
  147.  inco
  148.  
  149.   
  150. Subject: Viewing This Article
  151. From: Preface
  152.  
  153.   To skip to a particular question numbered xx, use "/^F.*xx" with most
  154.   pagers.  In GNU Emacs type "M-C-s ^F.*xx", (or C-r to search backwards),
  155.   followed by ESC to end the search.
  156.  
  157.   To skip to new or changed questions, use "/^S.*[!+]" with most pagers and
  158.   "M-C-s ^S.*[!+]" in GNU Emacs.
  159.  
  160.   This article is in digest format.  Nn may have already broken this
  161.   message into separate articles; if not, then type "G %".  In rn, use
  162.   ^G to skip sections.
  163.  
  164.   This article is treated as an outline when edited by GNU Emacs.  Run
  165.   "M-x describe-mode" to see available outline-mode commands.  Useful
  166.   commands are "M-x hide-body", "C-c C-s" (show-subtree) and "M-x
  167.   show-all"
  168.  
  169.   Numbers in square brackets denote the month and year of the last
  170.   update.
  171.  
  172.   If you should need the Internet address, use nslookup or dig if you
  173.   have them, or send mail to dns@grasp.insa-lyon.fr with "help" for
  174.   a Subject.
  175.  
  176.  
  177. Subject: ***** Introduction *****
  178. From: 1.
  179.  
  180.  
  181. Subject: Why should I use MH?
  182. From: 1.1
  183.  
  184.   The MH message handling system is a set of electronic mail programs
  185.   in the public domain.  If your computer runs UNIX, it can probably
  186.   run MH.
  187.  
  188.   The big difference between MH and most other "mail user agents" is
  189.   that you can use MH from a UNIX shell prompt.  In MH, each command
  190.   is a separate program, and the shell is used as an interpreter.  So,
  191.   all the power of UNIX shells (pipes, redirection, history, aliases,
  192.   and so on) works with MH--you don't have to learn a new interface.
  193.   Other mail agents have their own command interpreter for their
  194.   individual mail commands (although the mush mail agent simulates a
  195.   UNIX shell).
  196.  
  197.   Because MH commands aren't part of a monolithic mail system, you can
  198.   use them at any time; you don't have to start or quit the mail
  199.   agent.  Because you use them from a shell prompt, you can use all
  200.   the power of the shell.
  201.  
  202.   If your shell has time-saving aliases or functions (and most do),
  203.   you'll be able to use them with MH, of course.  And because MH isn't
  204.   a monolithic mail agent, you can use MH commands in UNIX shell
  205.   scripts, or call them from programs in high-level languages like C.
  206.  
  207.   Unlike most mail agents, MH keeps each message in a separate file.
  208.   The filename is the message number.  To rearrange the messages, MH
  209.   just changes the filenames.  MH can use standard UNIX file system
  210.   operations such as removing, copying and linking messages.  The
  211.   message files are grouped into one or more folders, which are
  212.   actually UNIX directories.
  213.  
  214.   MH is free, powerful, flexible--and the basics are easy to learn.
  215.   --Jerry Peek <jerry@ora.com>
  216.  
  217.   
  218. Subject: What is the current version/status of MH.
  219. From: 1.2
  220.  
  221.   The current version of MH is 6.8.3.
  222.  
  223.   This version includes MIME, a multi-media MH package that implements
  224.   the new IETF work on Multi-media 822 (MIME).  This allows you to
  225.   include things like audio, graphics, and the like, in your mail
  226.   messages.  --Marshall Rose <mrose@dbc.mtview.ca.us>
  227.  
  228.   MH now works with Kerberos as well.
  229.  
  230.   In addition, a new program called mhparam extracts arguments from
  231.   .mh_profile which is useful in shell scripts.
  232.  
  233.   Please see the file CHANGES in the distribution for more details. [5.94]
  234.  
  235.   
  236. Subject: Where can I get MH?
  237. From: 1.3
  238.  
  239.   MH comes standard with:
  240.   
  241.     Berkeley Software Design BSD/386  . MH Version 6.8.3
  242.     Control Data Corp. CDC4680-MP . . . EMH Version 1.4.2 (modified MH)
  243.     DEC Ultrix 3.1    . . . . . . . . . . MH Version 6.5
  244.     DEC Ultrix 4.2A & 4.4 . . . . . . . MH Version 6.7.1
  245.     DEC OSF/1 . . . . . . . . . . . . . MH Version 6.7
  246.     Evans and Sutherland ES/OS 2.3    . . MH Version 6.6
  247.     IBM PS/2 AIX 1.3  . . . . . . . . . MH Version 6.4
  248.     IBM RISC System/6000 AIX 3.x  . . . MH Version 6.6
  249.     IBM RISC System/6000 AIX 4.1  . . . MH Version 6.6
  250.     MIPS RISC/OS 4.52 . . . . . . . . . MH Version 6.6
  251.     Tektronix UTek    . . . . . . . . . . MH (Version Unknown)
  252.     Table maintained by: "James R. Hamilton"<jrh@jrh.guild.org>
  253.   
  254.   If you should need the Internet address, use nslookup or dig if you
  255.   have them, or send mail to dns@grasp.insa-lyon.fr with "help" for
  256.   a Subject.
  257.  
  258.   via anonymous ftp:                        [5.94]
  259.     ftp://ftp.ics.uci.edu/mh/mh-6.8.tar.Z                2MB
  260.     ftp://ftp.uu.net/networking/mail/mh/mh-6.8.tar.Z
  261.     ftp://krynn.efd.lth.se/pub/mail/mh-6.8.tar.Z
  262.  
  263.   via uucp:
  264.     The following shell script is one example of how to queue jobs for
  265.     downloading the files from UUNET via UUCP:
  266.  
  267.     #!/bin/sh
  268.     SRC=uunet!~/mail/mh/tar/mh-6.8.tar.Z-split
  269.     DST=/usr/spool/uucppublic/mh
  270.     uucp -d -r $SRC/README $DST/README
  271.     for f in 01 02 03 04 05 06 07 08
  272.     do
  273.         uucp -d -r $SRC/part$f $DST/part$f
  274.     done
  275.  
  276.     UUNET subscribers would then call normally using uucico.  Others
  277.     can use UUNET's 900 number to access UUNET via anonymous uucp.  The
  278.     number is 1-900-468-7727.  The login name is "uucp" and there is no
  279.     password.  The following is a sample Systems/L.sys entry:
  280.     
  281.     uunet Any ACU 19200 19004687727 "" \d\r ogin:--ogin:--ogin: uucp
  282.     
  283.     The modems on the 900 lines are Telebit WorldBlazers.  These modems
  284.     negotiate V.32bis, V.32, 2400, 1200, and last with (Turbo)PEP tones.
  285.     The cost is 50 cents per minute (as of Jan 93) which will appear on
  286.     the caller's next phone bill.  For more information about the 900
  287.     service, send email to help@uunet.uu.net (uunet!help). --Eric
  288.     Ziegast <ziegast@uunet.uu.net> [8.94]
  289.  
  290.   via mail:
  291.     Send a note to either mail-server@nluug.nl or
  292.     archive-server@germany.eu.net with a body containing the following:
  293.  
  294.       send mail/mh/mh-6.8.tar.Z
  295.  
  296.     UK users may be able to use ftpmail@doc.ic.ac.uk.  Send a note
  297.     whose body contains "help" to this address. [12.92]
  298.  
  299.     Send a note to ftpmail@decwrl.dec.com whose body contains "help"
  300.     on a line by itself get information on getting ftp sources by
  301.     mail.  Also include the lines "connect" and "dir /pub/mail/ua/mh"
  302.     to see which files are available local to decwrl.  Please do this
  303.     as a last resort only.  [1.93]
  304.  
  305.   via U.S. mail:
  306.     You can send $75 US to the address below.  This covers
  307.     the cost of a 6250 BPI 9-track magtape, handling, and ship-
  308.     ping.  In addition, you'll get a laser-printed hard-copy of
  309.     the entire MH documentation set.  Be sure to include your
  310.     USPS address with your check.  Checks must be drawn on U.S.
  311.     funds and should be made payable to:
  312.  
  313.        Regents of the University of California
  314.  
  315.     The distribution address is:
  316.  
  317.        University of California at Irvine
  318.        Office of Academic Computing
  319.        Engineering Gateway E2130
  320.        Irvine, CA  92717  USA
  321.  
  322.        +1 714 824 5153
  323.  
  324.     Sadly, if you just want the hard-copies of the documenta-
  325.     tion, you still have to pay the $75.  The tar image has the
  326.     documentation source (the manual is in roff format, but the
  327.     rest are in TeX format).  Postscript formatted versions of
  328.     the TeX papers are available, as are crude tty-conversions
  329.     of those papers.  [1.93]
  330.  
  331.   
  332. Subject: ! What references exist for MH?
  333. From: 1.4
  334.  
  335.   Books:
  336.     MH & xmh: E-mail for Users & Programmers.  Second edition. Jerry Peek.
  337.     ISBN 1-56592-027-9.  $29.95.  728 pages.
  338.     O'Reilly & Associates, Inc.
  339.     Book Orders:
  340.       US and Canada: 800-998-9938. Fax: 707-829-0104.
  341.  
  342.     References to "the MH book" in this document refer to the second
  343.     edition of this book (section numbers for the first edition appear
  344.     in parenthesis).
  345.  
  346.     To get a list of non-US distributors, send a note to
  347.     nuts@ora.com or call +1-707-829-0515.
  348.  
  349.     Examples from this book are in:
  350.     ftp://ftp.uu.net/published/oreilly/nutshell/MHxmh/MHxmh2.tar.Z    54k
  351.  
  352.     There is another book that contains a number of examples of
  353.     advanced mail handing using MH as the example message handler.
  354.     It's also quite a good reference on email in general.  [12.92]
  355.  
  356.     The Internet Message.  Marshall T. Rose
  357.     ISBN 0-13-092941-7.  396 pages.
  358.     P T R Prentice Hall
  359.  
  360.   Papers:
  361.     MHN Tutorial by Jerry Sweet
  362.     ftp://ftp.ics.uci.edu/contrib/multimedia/mhn-tutorial.ps.Z        141k
  363.     ftp://ftp.ics.uci.edu/contrib/multimedia/mhn-tutorial.tex.Z        48k
  364.  
  365.   Usenet:
  366.     comp.mail.mh (gatewayed to MH-users)
  367.  
  368.   Mailing lists:
  369.      General questions/discussion: MH-users@ics.uci.edu
  370.      (gatewayed to comp.mail.mh).
  371.      MH developers and maintainers: MH-workers@ics.uci.edu.
  372.      Please use MH-users-request and MH-workers-request to request
  373.      an addition or deletion.
  374.  
  375.   MH-users archives:
  376.     ftp://ftp.ics.uci.edu/mh-users/*
  377.  
  378.     The files are in packf(1) format, compressed with compress(1).  To
  379.     get them, use anonymous ftp and set "binary" transfer mode.
  380.  
  381.       mh-users.86.Z       8549        mh-users.86.scan.Z      771
  382.       mh-users.87.Z      55449        mh-users.87.scan.Z     3679
  383.       mh-users.88.Z     182805        mh-users.88.scan.Z    11339
  384.       mh-users.89.Z      89151        mh-users.89.scan.Z     5522
  385.       mh-users.90.Z     402470        mh-users.90.scan.Z    21551
  386.       mh-users.91.Z     878763        mh-users.91.scan.Z    36992
  387.       mh-users.92.Z    1281585        mh-users.92.scan.Z    44975
  388.       mh-users.93.Z    1544159        mh-users.93.scan.Z    53938
  389.       mh-users.mbox: current archive, uncompressed.
  390.  
  391.     There are directions in the README file.  Basically, you can use
  392.     either "msh" or the individual commands "inc -file" to get the
  393.     messages into a folder, and then "scan", "pick", "show", and so on
  394.     (or your favorite commands in xmh, mh-e, etc.).  --Jerry Peek
  395.     <jerry@ora.com>
  396.  
  397.   This document:
  398.     via WWW:
  399.       http://www.cis.ohio-state.edu/hypertext/faq/usenet/mh-faq/top.html
  400.  
  401.     via anonymous ftp:
  402.       ftp://rtfm.mit.edu/pub/usenet/news.answers/mh-faq/part1
  403.       ftp://ftp.uu.net/archive/usenet/news.answers/mh-faq/part1.Z
  404.       ftp://ftp.cs.ruu.nl/pub/NEWS.ANSWERS/mh-faq/part1
  405.  
  406.     via mail:
  407.       Each of the following addresses is following by commands which
  408.       should be included as the body of the message.
  409.  
  410.       mail-server@rtfm.mit.edu
  411.         send /usenet/comp.mail.mh/mh-faq/part1
  412.  
  413.       mail-server@cs.ruu.nl
  414.     send /pub/NEWS.ANSWERS/mh-faq/part1
  415.  
  416.     via uucp:
  417.       uunet!/archive/usenet/news.answers/mh-faq/part1.Z
  418.  
  419.   Signature and Finger FAQ
  420.     via WWW:
  421.       http://www.cis.ohio-state.edu/hypertext/faq/usenet/signature_finger_faq/faq.html
  422.  
  423.     via anonymous ftp:
  424.       ftp://rtfm.mit.edu/pub/usenet/news.answers/signature_finger_faq
  425.  
  426.     via mail (see above for usage):
  427.       mail-server@rtfm.mit.edu
  428.         send /usenet/news.answers/signature_finger_faq
  429.  
  430.     via uucp:
  431.       uunet!/archive/usenet/news.answers/signature_finger_faq
  432.  
  433.   
  434. Subject: ! What other MH software is available?
  435. From: 1.5
  436.  
  437.   vmh
  438.     Vmh is designed for people using the bulletin-board features
  439.     of MH, where mail is stored in packed (single-file) folders.  As
  440.     a result, use of this program cannot be mixed with the use of
  441.     normal MH commands.  Vmh is a part of the official MH
  442.     distribution.  --James Perkins <jamesp@sp-eug.com> [1.93]
  443.  
  444.   xmh
  445.     Xmh is a X11 mouse-based MH browsing tool.  It is very powerful
  446.     and feature-filled and thus comes with a moderate learning
  447.     curve.  Its dependence on the X11 environment makes it very
  448.     reconfigurable, but only by people well-versed in X applications
  449.     programming.  Its message reply built-in-editor interface is not
  450.     always popular among those used to having MH bring up the editor
  451.     of their choice.  --James Perkins <jamesp@sp-eug.com>
  452.  
  453.     xmh is part of the standard X Window System distribution from
  454.     the X Consortium.  Ultrix also ships dxmail which is similar.
  455.  
  456.     ftp://cs.utk.edu/pub/xmh.shar.Z                    162k
  457.  
  458.     Here's a version of xmh that includes MIME.  --Harald Tveit
  459.     Alvestrand <hta@boheme.er.sintef.no> [1.93]
  460.  
  461.     ftp://aun.uninett.no/pub/mail/mixmh/mixmh-0.3.tar.Z            232k
  462.  
  463.   exmh
  464.     EXMH is a user interface for the MH mail system written in TCL/TK.
  465.  
  466.     Exmh has MIME support, color feedback in the scan listing, a
  467.     folder display with one label per folder, clever scan caching,
  468.     facesaver bitmap display; background inc, various inc styles,
  469.     searching over folder listing and message body, a dialog-box
  470.     interface to MH pick, a simple built-in emacs-like editor,
  471.     interfaces to other editors, user preferences, user hacking
  472.     support. [8.94]
  473.  
  474.     ftp://parcftp.xerox.com/pub/exmh/exmh-1.4.1.tar.Z            357k
  475.     ftp://parcftp.xerox.com/pub/exmh/exmh-1.5omega.tar.Z
  476.  
  477.   mh-e
  478.     Mh-e is the GNU Emacs front end for MH.  It offers all the
  479.     functionality of MH, the visual orientation and simplicity of
  480.     use of xmh, and full integration with Emacs, including thorough
  481.     configurability.  The command set is similar to that of rmail
  482.     (the Emacs front end for BSD mail) and BSD mail itself.  On-line
  483.     help is available.
  484.  
  485.     Mh-e allows one to read and process mail very quickly: commands
  486.     are single characters and completion and defaults are available
  487.     for file and folder names.  During a reply, the original message
  488.     is displayed simultaneously in another window for easy reference
  489.     where a mh-e command can quickly incorporate and format this
  490.     text into your reply.
  491.  
  492.     With mh-e you compose outgoing messages in Emacs.  This is a big
  493.     plus for Emacs users, but it has been known for non-Emacs users
  494.     to be able use mh-e after only learning the most basic cursor
  495.     motion commands.  Mh-e is easily configured via the Emacs
  496.     edit-options menu, and people familiar with Emacs Lisp will be
  497.     able to further reconfigure mh-e beyond recognition.
  498.  
  499.     Mh-e is part of the standard GNU Emacs distribution.  Note that
  500.     mh-e got much faster in Emacs 18.56.  --Stephen Gildea
  501.     <gildea@x.org> [5.94]
  502.  
  503.     ftp://ftp.x.org/misc/mh-e/mh-e-4.1.tar.Z                66k
  504.  
  505.   metamail
  506.     Metamail is a package that can be used to convert virtually ANY
  507.     mail-reading program on UNIX into a multi-media mail-reading program.
  508.     It is an extremely generic implementation of MIME (Multipurpose
  509.     Internet Mail Extensions), the proposed standard for multi-media mail
  510.     formats on the Internet.  The implementation is extremely flexible and
  511.     extensible, using a "mailcap" file mechanism for adding support for new
  512.     data formats when sent through the mail.  At a heterogeneous site where
  513.     many mail readers are in use, the mailcap mechanism can be used to
  514.     extend them all to support new types of multi-media mail by a single
  515.     addition to a mailcap file.
  516.  
  517.     The metamail distribution comes complete with a small patch for
  518.     each of over a dozen popular mail reading programs, including
  519.     Berkeley mail, mh, Elm, Xmh, Xmail, Mailtool, Emacs Rmail, Emacs
  520.     VM, Andrew, and others.  Note that the MH patches are now integrated
  521.     into MH 6.8 --Nathaniel Borenstein <nsb@thumper.bellcore.com>
  522.  
  523.     ftp://thumper.bellcore.com/pub/nsb/mm2.7.tar.Z
  524.  
  525.   plum
  526.     Plum is a highly configurable and extensible screen-oriented front-end
  527.     for processing MH mail on ASCII terminals.  Unlike mh-e, the extension
  528.     language used in plum is perl, not LISP.  Plum offers many of the
  529.     advantages of xmh, but lacks several of xmh's disadvantages.  The
  530.     look&feel derives more from vi than from emacs.  Key bindings and
  531.     functions may be changed on the fly to suit the user's preference.  It
  532.     offers filename and word completion on folder, variables, and command
  533.     names.
  534.  
  535.     Until it is included in the standard distribution (under miscellany),
  536.     you can find a copy on:
  537.  
  538.     ftp://perl.com/pub/perl/scripts/plum.gz                29k
  539.     or mail requests to Tom Christiansen <tchrist@perl.com>. [11.94]
  540.  
  541.   mhunify
  542.     Mhunify is a set of perl scripts and templates that provides
  543.     shell-level MH functionality with USENET news.  Since MH supports
  544.     MIME, MIME-format news articles just work.  I've found that being
  545.     able to handle news in the same way that I handle email is very
  546.     useful, although there are some tradeoffs.
  547.  
  548.     Mhunify also treats MH folders just like news groups.  If you
  549.     subscribe to several mailing lists, and your email is
  550.     automatically delivered to separate folders, say, via procmail or
  551.     via MMDF's .maildelivery, the mhunify package lets you progress
  552.     automatically through your folders just as you would news groups.
  553.     --Jerry Sweet <jsweet@irvine.com> [11.94]
  554.  
  555.     ftp://ftp.ics.uci.edu/mh/contrib/multimedia/mhunify.shar.gz
  556.   
  557.   olmh
  558.     Sun's Open Windows 3 comes with a demo for OLIT (Open Look
  559.     Interface Toolkit, the Open Look wrapper to Xt) named olmh that
  560.     does handle 3rd and subsequent levels of nesting of folders.
  561.     --Dale Carstensen <dlc@c3file.c3.lanl.gov>
  562.  
  563.     Obtain the Open Windows 3 distribution CD/ROM from Sun (SPARC
  564.     only).  To do this, call 1-800-USA-4SUN and send tone "2" for
  565.     telemarketing after it answers.  The 4.1.2 CD/ROM may also have
  566.     Open Windows 3.  The list price for the 4.1.2 CD/ROM is $200.
  567.  
  568.   vmail
  569.     Vmail is a curses-based, vi-like message browser which calls on
  570.     MH programs to manipulate mail.  It can be used on almost any
  571.     terminal.  It organizes mail folders into index pages, from
  572.     which a message can be selected to be shown, replied-to,
  573.     forwarded, refiled, deleted, and so on.  The vi-like interface
  574.     and command keystrokes are comfortable to less-experienced UNIX
  575.     users, and it is a small, compact program, unlike the mh-e Emacs
  576.     package.
  577.  
  578.     This version of vmail has been bugfixed and enhanced from the
  579.     original vmail published on the net in 1987 by J. Zobel.
  580.     --James Perkins <jamesp@sp-eug.com> [1.93]
  581.  
  582.     ftp://ftp.uu.net/comp.sources.unix/volume12/vmail/part0*.Z        46k
  583.     ftp://ftp.ucs.ubc.ca/pub/mh/vmail.[1-3]of3.Z            58k
  584.     Or mail requests to James Perkins <jamesp@sp-eug.com>.  [5.94]
  585.  
  586.   vmailtool
  587.     If you have a Sun workstation, vmailtool may be for you.  It is a
  588.     button gadget panel for the above-mentioned vmail program.  It
  589.     brings vmail into the windows era where people no longer need to
  590.     memorize specific command keystrokes.  It also provides a mail
  591.     icon with the flag that pops up when new mail arrives.  Again,
  592.     this is a compact, simple tool, unlike the powerful xmh program.
  593.     Still, it's a welcome alternative for many people who are running
  594.     SunView or OpenWindows.  --James Perkins <jamesp@sp-eug.com> [1.93]
  595.  
  596.     ftp://ftp.ucs.ubc.ca/pub/mh/vmailtool.Z                18k
  597.     or mail requests to James Perkins <jamesp@sp-eug.com>. [5.94]
  598.  
  599.   mmh
  600.     MMH, My Mail Handler, is a Motif interface for reading and sending mail.
  601.     It uses the MH commands to actually handle sending a receiving messages.
  602.     It does not support all the capabilities of MH, but offers a large
  603.     enough subset to handle the majority of users.  Its intended user is
  604.     someone between "bumbling email novice" and "sophisticated user".
  605.     Hooks are provided to allow the user to customize and add new commands.
  606.  
  607.     ftp://ftp.eos.ncsu.edu/pub/bill/bill.tar.Z                120k
  608.  
  609.   X.500 lookups
  610.     If a name is enclosed in square brackets, when entering a destination
  611.     address:
  612.  
  613.     To: [Greg Wickham,CSIRO]
  614.  
  615.     a search will be made in the X.500 Directory for the individual's entry.
  616.     If an address exists then it will be extracted and placed into the
  617.     headers.  Mail requests for the software to the author.  --Andrew
  618.     Waugh <ajw@mel.dit.csiro.au>
  619.  
  620.   QueueMH
  621.     QuemeMH is an email based service request and tracking system
  622.     based on the Rand Mail Handler. --Barbara Dyker
  623.     <dyker@teal.csn.org>  [1.93]
  624.  
  625.     ftp://ftp.cs.colorado.edu/pub/cs/sysadmin/utilities/queuemh.tar.Z   98k
  626.  
  627.   QMH:
  628.  
  629.     Qmh is an MH-based group mail management tool. Written entirely in
  630.     perl, Qmh combines the best aspects of MH with group mail
  631.     heuristics and delivers a sensible package for all levels of UNIX
  632.     users. A limitless number of individual queues and associated
  633.     groups of permitted users can be established.
  634.  
  635.     Specific functionality includes the following modes of operation;
  636.     checking header dates and sending reminder/deadline mail, editing
  637.     existing messages, help screens, creating new messages from
  638.     scratch or exiting messages, resolving messages, scanning queue
  639.     folders, and annotating with status both by editing and sending
  640.     mail.
  641.  
  642.     Qmh is a single generic program in and of itself from which all
  643.     modes of operation are invoked. Additionally, each separate queue
  644.     may be accessed via a link to the single program. All system
  645.     configuration is maintained in a single file that is read upon
  646.     each invocation of Qmh.  Formatting and template files are
  647.     provided in the system library, although individual users can
  648.     override the defaults simply by creating equivalent files in their
  649.     own MH mail directory.
  650.  
  651.     Qmh provides a powerful database-like functionality by allowing
  652.     limitless per-queue X-Qmh-<$value> headers to be included in
  653.     messages.  These "fields" then form the context of the queue
  654.     messages and provide a user-defined, but yet structured
  655.     environment for queries, reporting, and random information.
  656.  
  657.     Qmh is designed to provide a complete solution for SA groups, help
  658.     desks, support organizations, or wherever two or more individuals
  659.     are trying to manage multiple mail requests.
  660.  
  661.     Qmh is also compatible with versions of xmh that provide
  662.     user-level command buttons. Provided in the Qmh package is a
  663.     ~/.Xdefaults template file that's setup to harness the power of
  664.     Qmh.
  665.  
  666.     For more info, write to <info@rootgroup.com>.  [3.93]
  667.  
  668.   MacMH and PC/MH:
  669.     These were available only for non-commercial degree-granting
  670.     institutions from:
  671.  
  672.     Networking & Communication Systems
  673.     115 Pine Hall
  674.     Stanford University
  675.     Stanford, CA 94305-4122
  676.     Phone: +1 415-723-3909
  677.  
  678.     See also:
  679.       ftp://netix.com/pub/pc-mh-info/*
  680.  
  681.     --Jerry Peek <jerry@ora.com>
  682.  
  683.     For more PC/MH info, contact:
  684.  
  685.     Netix Communications, Inc.
  686.        15375 Barranca Parkway
  687.        Building G, Suite 107
  688.        Irvine, CA 92718
  689.         Phone: +1 714-727-9532
  690.     FAX:   +1 714-727-3922
  691.     Internet: info@netix.com
  692.  
  693.     --Shannon Yeh <yeh@netix.com>
  694.  
  695.     In addition, you might try Wollongong, to see if they have something you
  696.     can get. [8.94]
  697.   
  698.   
  699. Subject: How can I print a MH manual?
  700. From: 1.6
  701.  
  702.   To order a copy by mail, see the section on how to get MH by mail in
  703.   [Q1.3 "Where can I get MH?"].  Also, check [Q1.4 "What references
  704.   exist for MH?"].
  705.  
  706.   To print your own copy, first obtain the MH sources [Q1.3 "Where can
  707.   I get MH?"] if you don't already have it.  Go into the "doc"
  708.   directory and run "make guide" to create the administrators guide
  709.   and "make manual" to create a user's manual which includes tutorials
  710.   and man pages.  If the doc directory is empty or is missing the
  711.   Makefile, you'll have to run "mhconfig MH" in the conf directory so
  712.   that the documentation with correct local information is created.
  713.  
  714.   For properly formatting the documentation (at least the manual
  715.   pages) you might even have to install MH, because a reference to a
  716.   tmac.h file in the MH lib directory is made in the manual pages.
  717.  
  718.   You can also ftp the ASCII or postscript versions:
  719.  
  720.     ftp://ftp.ics.uci.edu/mh/doc/tutorial.ps.Z                65k
  721.     ftp://ftp.ics.uci.edu/mh/doc/ADMIN.ps.Z                56k
  722.     ftp://ftp.ics.uci.edu/mh/doc/MH.ps.Z (man pages)            261k
  723.     ftp://ftp.uu.net/networking/mail/mh/doc/tutorial.ps.Z
  724.     ftp://ftp.uu.net/networking/mail/mh/doc/ADMIN.ps.Z
  725.     ftp://ftp.uu.net/networking/mail/mh/doc/MH.ps.Z (man pages)
  726.  
  727.   Or, you can send a note to mail-server@nluug.nl with a body containing the
  728.   following:
  729.  
  730.     send /mail/mh/papers-ps/tutorial.ps.Z
  731.  
  732.   --Bill Wohler <wohler@newt.com> and Jos Vos <jos@bull.nl> [1.93]
  733.  
  734.   
  735. Subject: How should I report bugs?
  736. From: 1.7
  737.  
  738.   Mail them to Bug-MH@ics.uci.edu and be sure to include the output of
  739.   the -help option as well as what hardware and operating system you
  740.   are using.
  741.  
  742.   
  743. Subject: How can I convert from my mailer to MH?
  744. From: 1.8
  745.  
  746.   If you use one of a mail agent like 'mail', 'mailx', 'elm' or
  747.   'mush', converting to MH is easy.  When you run the 'inc' command,
  748.   it reads all new messages from the system mailbox into your 'inbox'
  749.   folder.  Those mail agents also have separate files or "folders"
  750.   that hold messages in the same format as the system mailbox.  You
  751.   can read them with the 'inc -file' command.  For example, to read
  752.   the messages from your 'mbox' mail file into your MH 'inbox' folder,
  753.   you'd type:
  754.  
  755.     % cd
  756.     % cp mbox mbox.backup
  757.     % inc -file mbox
  758.  
  759.   If you see the usual "Incorporating new mail into inbox..." message
  760.   and a scan listing, the messages probably were converted.  Read some
  761.   or all of them (with the 'show' command) and be sure.  The 'inc'
  762.   won't remove your mbox unless you use '-truncate'.
  763.  
  764.   Section D.4 (C.4) of the MH book lists two scripts to convert mail
  765.   files to MH folders: babyl2mh to convert from rmail's BABYL format;
  766.   vmsmail2mh to convert from VMS's mail (see [Q1.4 "What references
  767.   exist for MH"] to see where the book's examples can be ftped from).
  768.   --Jerry Peek <jerry@ora.com>
  769.  
  770.   Vivek Khera <khera@cs.duke.edu> rewrote this in Perl since the
  771.   original script doesn't work for some people.  See [Appendix
  772.   "babyl2mh.pl."] [1.93]
  773.  
  774.   Juergen Nickelsen <nickel@cs.tu-berlin.de> provides yet another
  775.   short script.  He says,
  776.  
  777.   "You can remove the second to last second line ("> $input"), so
  778.   that the script doesn't zero out your RMAIL file.
  779.  
  780.   "Another alternative is to replace this line with "inc -file $tmpmbox
  781.   $folder && > $input", so that the RMAIL is only zeroed if inc
  782.   successfully incorporated the mail.  Finally one could add a switch
  783.   -z, so that the RMAIL file is only zeroed if the switch is given.
  784.   See [Appendix "inco."] [1.93]
  785.  
  786.   Use the following to convert a BABYL format file to UNIX mail
  787.   format. [5.94]
  788.   ftp://inf.informatik.uni-stuttgart.de/pub/gnu/emacs_extras/rmailtovm.el.Z 6k
  789.  
  790.   See also MH book Appendix D (Appendix C).
  791.  
  792.  
  793. Subject: ***** Building MH *****
  794. From: 2.
  795.  
  796.  
  797. Subject: What machines does MH run on?
  798. From: 2.1
  799.  
  800.   If you have a computer running UNIX, you can probably run MH.
  801.   --Jerry Peek <jerry@ora.com>
  802.  
  803.   
  804. Subject: How do I build MH?
  805. From: 2.2
  806.  
  807.   By carefully reading the READ-ME in the root of the source
  808.   hierarchy, one should not have any trouble building MH.
  809.  
  810.   
  811. Subject: What options should I use?
  812. From: 2.3
  813.  
  814.   BERK: Do NOT include the BERK option (in versions 6.7 or later)!
  815.   BERK breaks the mh-format functions that take apart address lines,
  816.   for example mbox, from, and friendly.  This would really put a crimp
  817.   on my replcomps file.
  818.  
  819.   LOCKF: if you have NFS, you need to lock your mailbox with lockf()
  820.   so the lock will be honored by all machines on the local network.
  821.   If you have the lockf() system call, include LOCKF.
  822.  
  823.   JQ Johnson <jqj@duff.uoregon.edu> makes the point that one should
  824.   use this option carefully since it requires a robust lockf() call.
  825.   For example, this option caused serious problems on his SunOS 4.1.1.
  826.   He suggested using LOK_BELL instead, and adding "lockstyle: 1" to
  827.   mtstailor.
  828.  
  829.   ATZ: makes your timezones print like "EST" instead of "-0500".  Much
  830.   prettier.
  831.  
  832.   --Stephen Gildea <gildea@x.org>
  833.  
  834.   However, Tony Landells <ahl@technix.oz.au> replies: "Yes; very
  835.   pretty.  How unfortunate that timezone names are so ambiguous, so
  836.   that EST can be interpreted, at a minimum, as (American) Eastern
  837.   Standard Time, (Australian) Eastern Standard Time, or (Australian)
  838.   Eastern Summer Time (and yes, I think it's dumb having the same
  839.   acronym for both normal and Summer time, but that's a different
  840.   problem).  While the numeric timezones may not look as nice, they
  841.   are, at least, reasonably unambiguous.  I would urge anyone who ever
  842.   intends/hopes/expects to use email outside the U.S. to NOT use ATZ
  843.   (sorry Stephen)."
  844.  
  845.   At any rate, the conf/examples directory has been updated and
  846.   contains many examples show you which options are required on your
  847.   platform and which are optional (in the upcoming version MH 6.8).  At
  848.   any rate, it is recommended that you examine the options in the
  849.   example configuration files, and read about them in READ-ME.
  850.  
  851.   RPATHS: a side-effect is that slocal writes messages to your system
  852.   maildrop without the MMDF C-A's that separate messages, so your BSD
  853.   tools like from work. [12.92]
  854.  
  855.   
  856. Subject: Where can I get POP3?
  857. From: 2.4
  858.  
  859.   MH6.7 (and earlier versions too) include a server for version 3 of POP.
  860.  
  861.   
  862. Subject: Does MH support IMAP?
  863. From: 2.5
  864.  
  865.   No.  MH only supports retrieving mail using POP3.  POP3 is on the
  866.   "standards track"--it is now an elective Internet Draft Standard
  867.   (see RFC1280 for more details).  At this point, IMAP[23] are
  868.   "experimental, limited use" protocols; it is unlikely that MH will
  869.   support them.  --John Romine <jromine@ics.uci.edu>
  870.  
  871.   However, I've found several things which might help.  First, a
  872.   definition lifted from the Pine FAQ:
  873.  
  874.   What is IMAP?
  875.  
  876.   IMAP stands for "Internet Message Access Protocol".  An IMAP client
  877.   program on any platform at any location on the Internet can access
  878.   email folders on an IMAP server.  While the messages appear to be
  879.   local, they reside on the server until the client explicitly moves
  880.   or deletes them.  The IMAP protocol is a superset of POP, containing
  881.   all POP commands plus more.  For a comparison of IMAP and POP, see
  882.   the paper Comparing Two Approaches to Remote Mailbox Access: IMAP
  883.   vs. POP (in ftp.cac.washington.edu:/mail/imap.vs.pop).  IMAP is what
  884.   allows Pine (or any other IMAP client) to get to email on a central
  885.   campus email server.  There are current IETF working groups revising
  886.   IMAP and readying it to become an Internet standard. A copy of the
  887.   latest IMAP draft may be obtained from
  888.   ftp://ftp.cac.washington.edu/mail/latest-imap-draft.  For a list of IMAP
  889.   clients, see the file imap.software, in the same directory. [8.94]
  890.  
  891.   Here are a few other references:
  892.  
  893.   ipop3d from the UW IMAP toolkit can operate in a couple modes.  As a
  894.   straight POP3 server, it uses the same C-client library as imapd, so
  895.   it co-exists comfortably with imapd.  It can also operate as a
  896.   POP-to-IMAP gateway so that your POP-only clients can access IMAP
  897.   services.  --David L Miller <dlm@cac.washington.edu> [8.94]
  898.  
  899.   ftp://ftp.cac.washington.edu/mail/imap.tar.Z                1.0M
  900.  
  901.   The only answer I can give for [how MH users can use IMAP] is that
  902.   Pine can read mailboxes in MH format; and that someone might in the
  903.   future develop a version of MH that can use IMAP.  --Mark Crispin
  904.   <MRC@Panda.COM> [8.94]
  905.  
  906.   
  907. Subject: Why does "mailgroup mail" only affect inc but not slocal?
  908. From: 2.6
  909.  
  910.   If "mailgroup" is set, inc is made set-group-id to this group name.
  911.   Some SYS5 systems want this to be set to "mail".  Set this if
  912.   /usr/spool/mail (or /usr/mail) is not world-writable.  These
  913.   changes were contributed by Peter Marvit, and "inc" is very careful
  914.   about its use of the set-gid privilege.
  915.  
  916.   Note that slocal doesn't know how to deal with this, and will not
  917.   work under these systems; just making it set-group-id will open a
  918.   security hole (since it doesn't know when to drop the set-gid
  919.   privileges).  If you're using "mailgroup", you should remove slocal
  920.   (and its man page) from your system. --John Romine
  921.   <jromine@ics.uci.edu> [1.93]
  922.  
  923.   Alternatives to slocal include deliver, procmail, and mailagent.
  924.   Archie can help you find where they are kept.
  925.  
  926.   
  927. Subject: + How can I build MH on Solaris?
  928. From: 2.7
  929.  
  930.   First, don't use the BSD compatible stuff.  Make sure that the Sun
  931.   or GNU compiler appear before the BSD compiler in your PATH.
  932.  
  933.   Second, don't use GNU make.  Make sure that the Sun make appears
  934.   before the GNU make in your PATH.
  935.  
  936.   Use conf/examples/solaris2.sun.com and fix the paths, if necessary.
  937.   Optionally change the following to use the GNU compiler, to perform
  938.   optimization, and to create shared libraries.
  939.  
  940.     cc              gcc
  941.     ccoptions       -O -g -msupersparc
  942.     slflags         -shared
  943.  
  944.   Incorporate the diff in [Appendix "mhn.c"].
  945.  
  946.   When compiling, you can ignore the following warning:
  947.  
  948.     fmtcompile.c", line 238: warning: semantics of "/" change in ANSI C;
  949.     use explicit cast
  950.  
  951.   If you're using AFS, you'll have to replace any occurrence of "ln"
  952.   with "ln -s" wherever the make dies when it tries to make a link
  953.   "on a different file system."
  954.   
  955.   --Neil Rickert <rickert@cs.niu.edu> & Scott K. Hutton
  956.   <shutton@habanero.ucs.indiana.edu> & Casper H.S. Dik
  957.   <casper@fwi.uva.nl> [11.94]
  958.  
  959.   
  960. Subject: + How can I build MH on Linux?
  961. From: 2.8
  962.  
  963.   A patch file and binaries are available.
  964.  
  965.   ftp://sunsite.unc.edu/pub/Linux/system/Mail/mailhandlers/mh-6.8.3-bin.tar.gz
  966.   ftp://sunsite.unc.edu/pub/Linux/system/Mail/mailhandlers/mh-6.8.3-patch.tar.gz
  967.   The sizes are 650k and 22k respectively.
  968.  
  969.   --Brandon S. Allbery <bsa@kf8nh.wariat.org> [11.94]
  970.  
  971.  
  972. Subject: ***** Scanning & Reading *****
  973. From: 3.
  974.  
  975.  
  976. Subject: What do I do if scan shows the wrong date?
  977. From: 3.1
  978.  
  979.   Upgrade to MH 6.8. [1.93]
  980.  
  981.   
  982. Subject: ! How would one go about reading Usenet with MH?
  983. From: 3.2
  984.  
  985.   Although news readers are better, if one really wants to use
  986.   MH, bbc will do the job.  For example, "bbc comp.mail.mh" reads this
  987.   newsgroup.  To enable bbc, you have to specify "bboards" when you
  988.   build MH.  --Stephen Gildea <gildea@x.org>
  989.  
  990.   You can save articles in the news readers for later perusal with MH.
  991.  
  992.   First, create a symbolic link from your mail directory (e.g., usenet) to
  993.   your news directory (e.g., "ln -s ~/News ~/Mail/usenet").  You can then
  994.   treat your news directory as a mail folder.  Thus, to select a news
  995.   group, use "folder +usenet/comp/mail/mh".
  996.  
  997.   To set the default save location correctly in rn, use:
  998.  
  999.     rn -M -/
  1000.  
  1001.   or in your nn presentation sequence:
  1002.  
  1003.     news.announce.        +$F/$N
  1004.     comp.mail.mh        +
  1005.     .
  1006.     .
  1007.  
  1008.   If there's news spooled on your machine (that is, not via NNTP) then
  1009.   you can read a newsgroup with commands like:
  1010.   
  1011.       show first +/usr/spool/news/comp/mail/mh
  1012.       next
  1013.       ...
  1014.   
  1015.   You can also use sequences to keep track of what you've read.  MH
  1016.   will automatically set a "cur" sequence in each newsgroup you read
  1017.   that way.  So, to continue reading the newsgroup sometime later,
  1018.   after you've read some other folder, you can do:
  1019.   
  1020.       next +/usr/spool/news/comp/mail/mh
  1021.   
  1022.   and you'll read the next (new) article (if any) in that newsgroup.
  1023.  
  1024.   Note that this can eventually make your private context file pretty
  1025.   huge; if there's a group you don't read often, you can remove its
  1026.   context entries with a command like:
  1027.   
  1028.       rmf +/usr/spool/news/comp/mail/mh
  1029.   
  1030.   Don't try that on a folder full of mail (a folder that isn't
  1031.   read-only), though... in that case, it'll remove all the messages!
  1032.  
  1033.   I haven't looked into posting.  It seems like it shouldn't be hard.
  1034.   You could set up a "sendproc" that would look at outgoing email
  1035.   messages.  If the message had a Newsgroups: header field, your
  1036.   sendproc could call inews(1) instead of post(8).  I haven't seen
  1037.   much in the MH manpages or documentation about sendprocs (though I
  1038.   haven't looked for a couple of years...).  See the "mysend"
  1039.   script in the MH book section 13.13.
  1040.  
  1041.   A threaded news reader like trn or tin is so much nicer, though,
  1042.   that reading news with MH may not be worth the hassle.
  1043.  
  1044.   See also MH book section 8.7. --Jerry Peek <jerry@ora.com> [11.94]
  1045.  
  1046.   You can post via mail.  Send your article to
  1047.   news-group-name@cs.utexas.edu (e.g., comp-mail-mh@cs.utexas.edu).
  1048.   Note that the dots in the newsgroup name have been replaced by
  1049.   dashes.  Don't worry if the newsgroup name has a dash in it.  To
  1050.   cross-post, simply add the other newsgroups to the cc: field. 
  1051.  
  1052.   See mhunify in [Q1.5 "What other MH software is available?"].
  1053.   --Bill Wohler <wohler@newt.com> [11.94]
  1054.  
  1055.   
  1056. Subject: How can I search through multiple folders?
  1057. From: 3.3
  1058.  
  1059.   Recurse through the folders (in csh and sh):
  1060.  
  1061.   % foreach f (`folders -f`)        $ for f in `folders -f`
  1062.   ? pick [switches] +$f            > pick [switches] +$f
  1063.   ? end                    > done
  1064.  
  1065.   Or create a folder that contains links to all messages (in csh and sh):
  1066.  
  1067.     % foreach f (`folders -f | grep -v -x ln`)
  1068.     ? refile -src +$f -link all +ln
  1069.     ? end
  1070.  
  1071.     $ for f in `folders -f | grep -v -x ln`
  1072.     > do refile -src +$f -link all +ln
  1073.     > done
  1074.  
  1075.   and in the future, refile messages with "refile +folder +ln".  To
  1076.   find something, use:
  1077.  
  1078.     % pick [switches] +ln
  1079.  
  1080.   See MH book sections 7.2.9, 7.8.3. [3.93]
  1081.  
  1082.   
  1083. Subject: Why don't MH format commands such as %(friendly) work?
  1084. From: 3.4
  1085.  
  1086.   The BERK option disables address parsing and therefore functions
  1087.   such as %(friendly).  Recompile MH without the BERK option. --Anthony
  1088.   Baxter <anthony@aaii.oz.au> [5.94]
  1089.  
  1090.   
  1091. Subject: ! Why doesn't "show" display all of a MIME message?
  1092. From: 3.5
  1093.  
  1094.   It's not the fault of the "show" command or of MH in general.  It's
  1095.   your system's configuration.  Check the mhn_defaults file in your MH
  1096.   library directory; if it doesn't have defaults for all content types,
  1097.   add them.  Or, if you can't (or shouldn't) change mhn_defaults, you
  1098.   can put default entries in your MH profile file for those content types.
  1099.  
  1100.   Here's the part of the mhn(1) manpage that explains how content types
  1101.   are handled:
  1102.  
  1103.     First, mhn will look for an entry of the form:
  1104.  
  1105.     mhn-show-<type>/<subtype>
  1106.  
  1107.     to determine the command to use to display the content.  If this
  1108.     isn't found, mhn will look for an entry of the form:
  1109.  
  1110.     mhn-show-<type>
  1111.  
  1112.     to determine the display command.  If this isn't found, mhn has
  1113.     two default values:
  1114.  
  1115.     mhn-show-text/plain: %pmoreproc '%F'
  1116.     mhn-show-message/rfc822: %pshow -file '%F'
  1117.  
  1118.     If neither apply, mhn will check to see if the message has a
  1119.     application/octet-stream content with parameter "type=tar".  If
  1120.     so, mhn will use an appropriate command.  If not, mhn will
  1121.     complain.
  1122.  
  1123.   So, add defaults that cover the types MH doesn't handle right now (or
  1124.   doesn't handle the way you want it to).  Your defaults will override
  1125.   corresponding defaults in the mhn_defaults file.  For example, if you
  1126.   don't have an HTML editor/browser on your system, you could tell MH to
  1127.   use the "less" paginator for HTML message parts:
  1128.   
  1129.     mhn-show-text/x-html: less %F
  1130.   
  1131.   You can put that line in your MH profile.
  1132.  
  1133.   You can even set different defaults for different terminal types (say,
  1134.   your VT100 at home and your X setup at work).  Make a file in the same
  1135.   format as mhn_defaults; store its pathname in the MHN environment
  1136.   variable.  Add a test to your shell setup file (.profile, .login) that
  1137.   tests the value of the TERM variable -- and, if you have an mhn setup
  1138.   file for that terminal type, store its pathname in the MHN variable.
  1139.   --Jerry Peek <jerry@ora.com> [8.94]
  1140.  
  1141.   If you are not using the X Window System, you may have to add this
  1142.   line to your MH profile:
  1143.  
  1144.     mhn-charset-iso-8859-1: /bin/sh -c '%s'
  1145.   
  1146.   --Michael K. Neylon <mneylon@engin.umich.edu> [11.94]
  1147.  
  1148.   
  1149. Subject: + Can I get show not to run "less" so much on MIME messages?
  1150. From: 3.6
  1151.  
  1152.   If you say, "show all," and one of the messages was a MIME message,
  1153.   your pager will be run several times on each message, rather than
  1154.   once on all the messages as a whole.  If you find this annoying, set
  1155.   the environment variable NOMHNPROC:
  1156.  
  1157.     % setenv NOMHNPROC ""            # csh
  1158.     $ NOMHNPROC=                # sh and bash
  1159.       $ export NOMHNPROC
  1160.  
  1161.   --Bill Wohler <wohler@newt.com> [11.94]
  1162.  
  1163.  
  1164. Subject: ***** Filing *****
  1165. From: 4.
  1166.  
  1167.  
  1168. Subject: Can I append MH messages to a UNIX mailbox format file?
  1169. From: 4.1
  1170.  
  1171.   Yes, see support/general/packmbox.sh in the distribution.  [1.93]
  1172.  
  1173.   
  1174. Subject: Can I append MH messages to a GNU Emacs rmail BABYL-format file?
  1175. From: 4.2
  1176.  
  1177.   To convert your MH folders to BABYL folders, first run the following script
  1178.   on your Mail directory.
  1179.  
  1180.   #!/bin/sh
  1181.  
  1182.   for f in Mail/*; do
  1183.     if [ -d $f ]; then
  1184.         touch msgbox
  1185.         folder=`basename $f`
  1186.         echo -n packing $folder ...
  1187.         packf +$folder
  1188.         echo done
  1189.         mv msgbox Mail-rmail/$folder
  1190.     fi
  1191.   done
  1192.  
  1193.   This assumes you don't have nested folders.  Your rmail folders will be
  1194.   left in $HOME/Mail-rmail in MMDF format which rmail can read.  Then run
  1195.   rmail-input for each folder, which converts each folder into BABYL format.
  1196.  
  1197.   Be sure not to append any messages before they are converted from MMDF
  1198.   to BABYL, since there may be really strange results.
  1199.  
  1200.   
  1201. Subject: Why do I get ".../.mh_sequences is poorly formatted?"
  1202. From: 4.3
  1203.  
  1204.   There is a line length limit in this file.  When sequences are
  1205.   unbroken (without gaps in numbering), that makes short entries in
  1206.   the .mh_sequences file, like this:
  1207.  
  1208.     inftex: 72-8000
  1209.  
  1210.   But when there are lots of numbering gaps, the entry gets long:
  1211.  
  1212.     inftex: 76 79-81 87 95-96 105 109 120 124 135 141 158 163...
  1213.  
  1214.   That's when you run into problems, and why it's good to keep the
  1215.   folder packed when you can.  Simply run "folder -pack +folder".
  1216.  
  1217.   If you're refiling a lot of messages in a large folder, you might
  1218.   not be able to use sequences.  Use backquotes to give the message
  1219.   numbers directly to "refile".  For example:
  1220.  
  1221.     refile +tex/info-tex `pick -to info-tex`
  1222.  
  1223.   That can still generate a long list of arguments to the "refile" command,
  1224.   and some UNIXes can't handle that.  In that case, use xargs(1):
  1225.  
  1226.     pick -to info-tex | xargs refile +tex/info-tex
  1227.  
  1228.   If worse comes to worst, fire up a Bourne shell and use a "while" loop:
  1229.  
  1230.     pick -to info-tex | fmt | while read nums; do
  1231.         refile +tex/info-tex $nums
  1232.     done
  1233.  
  1234.   The fmt(1) command breaks long lines into manageable chunks of 72
  1235.   characters or so, splitting arguments at whitespace.  When you redirect
  1236.   the input of a while loop, a "read" command will read the incoming text
  1237.   and store it in a shell variable line by line.  This is a quick-&-dirty
  1238.   way to write xargs(1) if you don't have it. --Jerry Peek
  1239.   <jerry@ora.com> [8.94]
  1240.  
  1241.  
  1242. Subject: ***** Composing & Replying *****
  1243. From: 5.
  1244.  
  1245.  
  1246. Subject: Why does repl add a "Re:" to a message that already has one?
  1247. From: 5.1
  1248.  
  1249.   I carefully reconfigured and rebuilt MH from scratch and the problem
  1250.   went away.  --Larry McVoy <lm@slovax.Eng.Sun.COM>
  1251.  
  1252.   
  1253. Subject: How do I include messages in repl with or without ">"?
  1254. From: 5.2
  1255.  
  1256.   When making a reply, specify a filter file on the command line:
  1257.  
  1258.     repl -filter repl.format
  1259.  
  1260.   This filter file must be in your MH mail directory (usually "Mail",
  1261.   in your home directory).  Here are a couple of example repl.format
  1262.   files:
  1263.  
  1264.     overflowtext="",overflowoffset=0
  1265.     message-id:nocomponent,formatfield=\
  1266.     "In message %{text}you write:"
  1267.     body:component=">",overflowtext=">",overflowoffset=0
  1268.  
  1269.           or
  1270.  
  1271.     overflowtext="",overflowoffset=0
  1272.     date:component="Your message dated",formatfield=\
  1273.     "%<(nodate{text})%{text}%|%(pretty{text})%>"
  1274.     body:component=">",overflowtext=">",overflowoffset=0
  1275.  
  1276.   Setting overflowoffset to 0 keeps MH from doing anything to
  1277.   extra-long lines in the headers.  In the body, however, this
  1278.   behavior is overridden so that long lines are automatically broken
  1279.   and a ">" is inserted before every line.  You could put almost
  1280.   whatever you want between those quotes, although the "standard" ">"
  1281.   makes it easier to read notes that have been included several times.
  1282.   The examples differ with the descriptive text that is inserted
  1283.   before the included body.
  1284.  
  1285.   It is suggested not to use the "prompter" editor in this case, since
  1286.   it is likely that you'll not want to use all of the included
  1287.   message.  Indeed, it is proper etiquette to edit out all unnecessary
  1288.   include verbiage so readers don't have to wade through the morass to
  1289.   read your pearls of wisdom.
  1290.  
  1291.   WARNING: the '>' appears on the first line ONLY in versions prior
  1292.   to 6.7.2.  Upgrade to MH 6.8.
  1293.  
  1294.   --Alan Thew <qq11@liv.ac.uk>, Mike Schwager <schwager@cs.uiuc.edu>,
  1295.   James T Perkins <jamesp@sp-eug.com> [1.93]
  1296.  
  1297.   See also MH book sections 6.7.4, 6.7.5, 9.4.1 (9.3.1).
  1298.  
  1299.   
  1300. Subject: How can I eliminate duplicate copies of letters to myself?
  1301. From: 5.3
  1302.  
  1303.   Add these two lines to your MH profile file:
  1304.  
  1305.     Alternate-Mailboxes: user@host1, user@host2, ...
  1306.         repl: -nocc me
  1307.  
  1308.   To get one copy, you can either:
  1309.  
  1310.   - Take out the "-nocc me"... then you'll get exactly one copy of
  1311.     your replies (assuming all your addresses are listed in
  1312.     Alternate-Mailboxes), or
  1313.  
  1314.   - [Q5.9 "How can I save a copy of all messages I send?"]
  1315.  
  1316.     For more info, see the man pages comp(1),
  1317.     repl(1), forw(1), dist(1) and mh-mail(5). --Jerry Peek <jerry@ora.com>
  1318.  
  1319.   The Alternate-Mailboxes also tells scan which messages are really
  1320.   from you so that it can place the recipient in the scan line instead
  1321.   of the sender.  --Bill Wohler <wohler@newt.com>
  1322.  
  1323.   See also MH book sections 6.7.2, 8.6.
  1324.  
  1325.   This is also a convenient way to AVOID automatically cc-ing a
  1326.   mailing list when replying to a person who sent the message to the
  1327.   mailing-list, by listing the name of that mailing list in your
  1328.   alternate mailboxes.  --Alec Wolman <wolman@crl.dec.com>
  1329.  
  1330.   
  1331. Subject: ! How can I include my signature?
  1332. From: 5.4
  1333.  
  1334.   There are several ways.
  1335.  
  1336.   1) The MH way.
  1337.  
  1338.   1a) In your Mail directory, create files that
  1339.       include your signature into the format of the message.
  1340.  
  1341.      ~/Mail/components:
  1342.     To:
  1343.     cc:
  1344.     Subject:
  1345.     --------
  1346.  
  1347.     --
  1348.     Eric Ziegast        ziegast@uunet.uu.net
  1349.     UUNET Technologies    uunet!ziegast
  1350.  
  1351.      ~/Mail/replfmt
  1352.     body:component="> ",compwidth=2
  1353.     :--
  1354.     :Eric Ziegast          ziegast@uunet.uu.net
  1355.     :UUNET Technologies    uunet!ziegast
  1356.  
  1357.      To use the replfmt file, add the following to your ~/.mh_profile:
  1358.  
  1359.     repl: -filter replfmt
  1360.  
  1361.      When comp is used, your signature is already there along with my
  1362.      headers.  When repl is used, the mhl program takes the body of
  1363.      the letter you're replying to, prepends '> ' to each line and
  1364.      then adds your signature at the end (available after version
  1365.      6.7). [11.94]
  1366.  
  1367.   1b) Create an "editor" which can be called from whatnow to add the
  1368.      signature when desired or create a frontend to post (use the
  1369.      .mh_profile line "postproc: postproc" to call it) that always
  1370.      appends the .signature file before calling post to mail the
  1371.      message.  David J. Fiander <david@golem.uucp>, David A.
  1372.      Truesdell <truesdel@nas.nasa.gov> and Tom Wilmore
  1373.      <sastjw@unx.sas.com> have sample scripts to do these.
  1374.  
  1375.   1c) Section 13.13 of the MH book lists mysend, a sendproc script to
  1376.     process a message after "What now? send" (see "What references
  1377.     exist for MH" to see where the book's examples can be ftped from).
  1378.     --Jerry Peek <jerry@ora.com> [9.92]
  1379.  
  1380.   2) Using your editor.  If you use vi, you can use something like:
  1381.  
  1382.       map S :r ~/.signature
  1383.  
  1384.      to load your signature out of .signature every time you
  1385.      hit 'S'.
  1386.  
  1387.   3) Use your windowing system.  xterm, for example, can provide key
  1388.      and button mappings for the utterly lazy.
  1389.  
  1390.   4) If you use Emacs with mh-e:
  1391.  
  1392.   4a) C-c C-s will append the signature.
  1393.  
  1394.   4b) Add the following to your .emacs file:
  1395.  
  1396.     (add-hook 'mh-compose-letter-function
  1397.         (function
  1398.          (lambda(a b c)
  1399.            (save-excursion
  1400.          (goto-char (point-max))
  1401.          (beginning-of-line)
  1402.          (insert-file (expand-file-name mh-signature-file-name))))))
  1403.  
  1404.       This hook is called after the draft buffer has been initialized,
  1405.       but before you have a chance to type anything.  --Andre
  1406.       Srinivasan <andre@neuronet.pitt.edu> [5.94]
  1407.  
  1408.   --Eric W. Ziegast <ziegast@uunet.uu.net> & Hardy Mayer
  1409.   <hardy@golem.ps.uci.edu> except where noted.
  1410.  
  1411.   Tired of the same old signature?  Want different signatures for
  1412.   different newsgroups?  Here's a program to help you out.
  1413.  
  1414.   The way it works is to have .signature be a named pipe, so if you
  1415.   don't have named pipes, just say 'n'.
  1416.  
  1417.   The sigrand program then feeds stuff down the pipe every time someone
  1418.   wants to read it.  That way it works for more than just news, but
  1419.   for anything that wants to read your .signature, like a mailer.
  1420.  
  1421.   You have your choice of three kinds of signatures:
  1422.  
  1423.       1) random (short) fortune from "fortune -s"; you get these if
  1424.      you don't have a global sig file.
  1425.       2) random fortune from ~/News/SIGNATURES [global sig file]
  1426.       3) random fortune form ~/News/(newsgroup)/SIGNATURES [local sig files]
  1427.  
  1428.   Ask Tom Christiansen <tchrist@perl.com> for more details. [11.94]
  1429.  
  1430.   See also the Signature FAQ [Q1.4 "What references exist for MH?"].
  1431.   [11.94]
  1432.   
  1433. Subject: How do I call my editor with arguments?
  1434. From: 5.5
  1435.  
  1436.   Set your editor (in .mh_profile) to the following shellscript:
  1437.  
  1438.     #/bin/sh
  1439.     <youreditor> <yourargs> $*
  1440.     exit 0
  1441.  
  1442.   --John Romine <jromine@ics.uci.edu>
  1443.  
  1444.   You might find it useful to make <youreditor> $EDITOR, or to use
  1445.   different arguments depending on your EDITOR environment variable.
  1446.   --Ray Nickson <Ray.Nickson@comp.vuw.ac.nz>
  1447.  
  1448.   
  1449. Subject: ! How can I digestify messages in a folder for mail to another user?
  1450. From: 5.6
  1451.  
  1452.   How about:
  1453.  
  1454.     forw [-digest tmp] [-form forwcomps] [-filter mhl.digest]
  1455.          messages +folder
  1456.  
  1457.   These messages can be un-digestified :-) by the MH burst(1) program.
  1458.   --Jerry Peek <jerry@ora.com> and Bill Wohler <wohler@newt.com>
  1459.  
  1460.   See also MH book sections 6.8, 7.9.
  1461.  
  1462.   There's another way, which is better if the recipient understands MIME.
  1463.  
  1464.       forw -mime messages +folder
  1465.  
  1466.   (Make sure that you either have "automhnproc: mhn" in your mh
  1467.   profile, or type "edit mhn" to whatnow before you send it.)
  1468.  
  1469.   This bundles each message in a MIME message/rfc822 part, and then
  1470.   bundles the whole mess up in a multipart/digest part.  You can still
  1471.   add your own text at the beginning.  The MH burst program can also
  1472.   understand these messages and split them apart with no problem.
  1473.   This works beautifully with MIME-capable mail readers, especially
  1474.   exmh. --Glenn Vanderburg <glv@utdallas.edu> [11.94]
  1475.  
  1476.   
  1477. Subject: How can I change my return address?
  1478. From: 5.7
  1479.  
  1480.   If you find that your mailer creates a From header that others have
  1481.   trouble replying to, you can add a Reply-To header to override the
  1482.   From header in replies.
  1483.  
  1484.   Copy the components and replcomps files which are normally found in
  1485.   /usr/local/lib/mh into your Mail directory and add a line like the
  1486.   following after the Subject header replacing my address with your
  1487.   address:
  1488.  
  1489.     Reply-To: wohler@newt.com
  1490.  
  1491.   [12.92]
  1492.  
  1493.   
  1494. Subject: How can I change my From header?
  1495. From: 5.8
  1496.  
  1497.   If you're just interested in changing the hostname, add a line to
  1498.   $LIB/mtstailor:
  1499.  
  1500.     localname: desired_host_name
  1501.  
  1502.   --Bill Wisner <wisner@netcom.com> [12.92]
  1503.  
  1504.   Just put a "From:" header in your "components", "replcomps" and
  1505.   "forwcomps" files.  MH will add a "Sender:" header with what it thinks
  1506.   is your real address, but (almost) no one cares about the "Sender:"
  1507.   header anyway.  --Jerry Peek <jerry@ora.com>  [12.92]
  1508.  
  1509.   
  1510. Subject: How can I save a copy of all messages I send?
  1511. From: 5.9
  1512.  
  1513.   Copy the components and replcomps files which are normally found in
  1514.   /usr/local/lib/mh into your Mail directory and add a line like the
  1515.   following after the cc header:
  1516.  
  1517.     Fcc: +out
  1518.  
  1519.   All outgoing messages will then be saved in the +out folder.  If you
  1520.   make a distcomps file, it needs "Resent-Fcc:". --Bill Wohler
  1521.   <wohler@newt.com> and Jerry Peek <jerry@ora.com> [8.94]
  1522.  
  1523.   
  1524. Subject: Can the folder in Fcc: be dynamically specified?
  1525. From: 5.10
  1526.  
  1527.   My suggestion would be to run Tom Christiansen's rfi script.  If you
  1528.   cannot find it on *.sources archive sites (please try first), I can
  1529.   mail it to you.
  1530.  
  1531.   One good idea would be to write a whatnowproc that files the mail
  1532.   based on a procmail or deliver file.  Then you can use the same file
  1533.   for incoming and outgoing mail.  --Andy Rabagliati <andyr@wizzy.com>
  1534.   [8.94]
  1535.     
  1536.  
  1537. Subject: ***** Posting *****
  1538. From: 6.
  1539.  
  1540.  
  1541. Subject: What to do with "Problems with edit - draft removed".
  1542. From: 6.1
  1543.  
  1544.   If your users are using an AT&T version of "vi", it's exiting with
  1545.   non-zero status (supposedly a count of the "errors" during the edit).
  1546.   Move "vi" to "broken_vi" and put it its place:
  1547.  
  1548.     #! /bin/sh
  1549.     /usr/ucb/broken_vi $*
  1550.     exit 0
  1551.  
  1552.   Alternatively, compile MH with the ATTVIBUG option.
  1553.  
  1554.   Then complain to your vendor that "vi" is broken, and they should
  1555.   fix it.  --John Romine <jromine@ics.uci.edu>
  1556.  
  1557.   
  1558. Subject: Can I run my message through a program (e.g., ispell) before sending?
  1559. From: 6.2
  1560.  
  1561.   It's pretty simple.  If your speller is called myspell, use:
  1562.  
  1563.     What now? edit myspell
  1564.  
  1565.   MH will actually execute:
  1566.  
  1567.     myspell /your-mail-draft-directory/draftfile
  1568.  
  1569.   and give the entire draft message to your speller.  The header will
  1570.   probably be "misspelled," of course, though you might be able to
  1571.   tell the speller to ignore it--or you could hack up a little shell
  1572.   script to run the speller on just the message body, then tack the
  1573.   corrected body back onto the header before sending.
  1574.  
  1575.   You can automate this some more.  For example, if you want your
  1576.   speller to run after your first edit with "prompter" and also after
  1577.   you leave the "vi" editor, add these lines to your MH profile:
  1578.  
  1579.       prompter-next: myspell
  1580.       vi-next: myspell
  1581.  
  1582.   Then, at the "What now?" prompt:
  1583.  
  1584.       What now? e
  1585.  
  1586.   your speller will run.  For more info, see the mh-profile(5) man
  1587.   page or section 6.2.1 of the MH book. --Jerry Peek <jerry@ora.com>
  1588.  
  1589.   
  1590. Subject: What to do with "bad address 'xxx' - no at-sign after local-part".
  1591. From: 6.3
  1592.  
  1593.   You may find that post returns the following message:
  1594.  
  1595.     post: bad address 'Mr. Foo Bar <fb@somewhere.edu>' - no at-sign
  1596.     after local-part (Bar), continuing...
  1597.  
  1598.   The unquoted dot causes "Mr. Foo" to be parsed as the local part of
  1599.   the address.  Either remove the dot, or rewrite the address as
  1600.   follows:
  1601.  
  1602.     "Mr. Foo Bar" <fb@somewhere.edu>
  1603.     (Mr. Foo Bar) <fb@somewhere.edu>
  1604.     (Mr. Foo Bar) fb@somewhere.edu
  1605.  
  1606.   --Owen Rees <rtor@ansa.co.uk> [1.93]
  1607.  
  1608.   
  1609. Subject: ! Fixing "post: problem initializing server; [BHST] no servers available"
  1610. From: 6.4
  1611.  
  1612.   The error message itself is essentially correct.  However, what this
  1613.   really means is: MH's post cannot connect to a running sendmail over
  1614.   an SMTP port (MH configured with SMTP and SENDMTS).
  1615.  
  1616.   The potential problems:
  1617.  
  1618.   1. Your local sendmail daemon is dying or not running for some
  1619.   reason.
  1620.  
  1621.   2. You use BIND and your local nameserver is not responding.
  1622.  
  1623.   3. Your mtstailor has its "servers:" pointing to a non-existent
  1624.   machine or a machine which is a) not reachable or b) not running the
  1625.   sendmail daemon.  --Peter Marvit <marvit@hplabs.hpl.hp.com>
  1626.  
  1627.   4. The hostname localhost [127.0.0.1] is missing from /etc/hosts.  --Bdale
  1628.   Garbee <bdale@col.hp.com> [5.94]
  1629.  
  1630.   Solutions or Workarounds:
  1631.  
  1632.   2. Delete "/etc/resolv.conf." --Eric Bracken
  1633.   <bracken@bacon.performance.com> [11.94]
  1634.      
  1635.   4. Change the "servers" line of the to read
  1636.  
  1637.     servers: 127.0.0.1 \01localnet
  1638.  
  1639.   --Eric Bracken <bracken@bacon.performance.com> [11.94]
  1640.  
  1641.   
  1642. Subject: Fixing "post: problem initializing server; [RPLY] 503 Sender already specified"
  1643. From: 6.5
  1644.  
  1645.   The problem in sendmail is that the RSET after the ONEX does not
  1646.   reset all the state information.  Normally sendmail fork()s after
  1647.   the Mail from: statement and a RSET causes that child to exit.  This
  1648.   automatically cleans up.  If the fork() is suppressed by ONEX, then
  1649.   the source must be modified to do the cleanup.  See "srvrsmtp.c
  1650.   patch" in the Appendix.  If you don't have the sources, modify your
  1651.   MH sources to not use the ONEX verb.  --Paul Pomes
  1652.   <paul@uxc.cso.uiuc.edu> [3.93]
  1653.  
  1654.   
  1655. Subject: Fixing "post: unexpected response; [BHST] no socket opened"
  1656. From: 6.6
  1657.  
  1658.   Problem happens when there is no interface defined within the tcp
  1659.   system.  A couple of workarounds include:
  1660.  
  1661.   o Use a hostname (other than the local host) instead of localhost in
  1662.     the "servers" entry of the "mtstailor" file (found in the MH
  1663.     library, usually /usr/local/lib/mh).
  1664.   o Recompile MH with sendmail instead of sendmail/mts (not very elegant).
  1665.  
  1666.   A better fix would be to define your tcp interface.
  1667.  
  1668.   Here, you run ifconfig and route (as root) to define the loopback
  1669.   device and route.  You should add them to rc.local so they are
  1670.   effected at every boot.
  1671.  
  1672.     # ifconfig lo 127.0.0.1            # Linux
  1673.     # ifconfig lo0 127.0.0.1        # Sun
  1674.  
  1675.     # route 127.0.0.1
  1676.  
  1677.   If all is well, "ifconfig lo" (or lo0), will show something like this
  1678.   (on my Linux system):
  1679.   
  1680.     lo        Link encap Local Loopback  
  1681.           inet addr 127.0.0.1  Bcast 127.255.255.255  Mask 255.0.0.0
  1682.           UP LOOPBACK RUNNING  MTU 2000  Metric 0
  1683.           RX packets 0 errors 0 dropped 0 overrun 0
  1684.           TX packets 519 errors 0 dropped 0 overrun 0
  1685.  
  1686.   and "netstat -r" will show:
  1687.  
  1688.     # netstat -r
  1689.     Destination net/address   Gateway address    Flags RefCnt    Use Iface
  1690.     127.0.0.0                 *                  UN         0    519 lo
  1691.  
  1692.   If you're not on a network and running DNS, your /etc/hosts will
  1693.   need at least:
  1694.  
  1695.     127.0.0.1    your_host_name localhost     # loopback address
  1696.  
  1697.   Note: put your name FIRST on the localhost line.  This official name
  1698.   is used by sendmail to determine your return address.  
  1699.  
  1700.   If you are on a network and running DNS, you might find that putting
  1701.   your host name in the localhost entry might gum up other things, in
  1702.   which case you'll want your hostname to have its own proper address.
  1703.   --Steve Lembark <lembark@wrkhors.la.ca.us> & Bill Wohler
  1704.   <wohler@newt.com> [8.94]
  1705.  
  1706.   This might not do it though.  David Youatt <dpy@sgi.com> says that
  1707.   his network was happy but he still had the problem until he upgraded
  1708.   his system and got the latest revision of sendmail as well.  He
  1709.   says: "Turns out that that the problem I was having seems to be
  1710.   caused (at least partly, maybe entirely) by the version of sendmail
  1711.   that is shipped with IRIX 5.2 (sendmail 5.65, I think).  The version
  1712.   shipped w/IRIX 5.3 (in beta) is sendmail 8.6.9 and works fine."
  1713.  
  1714.   I'm not entirely happy with this section, so please give me some
  1715.   feedback.  If you have this problem, please send me
  1716.   <wohler@newt.com> a brief description so I'll know which problems
  1717.   and solutions seem to be the most prevalent.
  1718.  
  1719.   
  1720. Subject: How do I fix the "X-Authentication-Warning" header?
  1721. From: 6.7
  1722.  
  1723.   You get a header like:
  1724.   
  1725.     X-Authentication-Warning: screamer.rtp.ericsson.se: Host
  1726.     rcur7.rtp.ericsson.se didn't use HELO protocol
  1727.  
  1728.   Easy possibilities are:  apply the patch to MH that comes with Sendmail
  1729.   8.X.X and makes it use HELO, or comment out the line that says
  1730.  
  1731.     Opauthwarnings
  1732.  
  1733.   in your sendmail.cf.
  1734.  
  1735.  
  1736. Subject: ***** Mail Filters *****
  1737. From: 7.
  1738.  
  1739.  
  1740. Subject: What mail filters are available?
  1741. From: 7.1
  1742.  
  1743.   The list currently includes slocal (included with MH), deliver,
  1744.   procmail and mailagent.  They are briefly described here.  Slocal is
  1745.   probably the most popular by virtue of being included in the
  1746.   distribution.  The next most popular entry is deliver, followed
  1747.   closely by procmail.
  1748.  
  1749.   Slocal comes with MH.  It can be used to process incoming mail based
  1750.   on the contents of any of the headers.  Actions include filing
  1751.   messages, running commands, printing messages on your terminal and
  1752.   so on.  The configuration is made in ~/.maildelivery.  People seem to
  1753.   have trouble with slocal bugs, and you can't use it if you don't
  1754.   have write permission on your system maildrop so a lot of people
  1755.   have opted for the alternatives, but it's easy to use and comes with
  1756.   MH. --Bill Wohler <wohler@newt.com> [8.94]
  1757.  
  1758.   Deliver can run any script or program (called ~/.deliver), so you
  1759.   really can do anything you want to incoming mail.  One feature that
  1760.   it sports that no other does is that you can install it as a local
  1761.   mailer in place of /bin/mail.  If it's the local mailer, you don't
  1762.   need to have a .forward--~/.deliver is run anyway.  In addition, it
  1763.   allows the system administrator to write some programs to filter
  1764.   everybody's mail.  It came with my Linux system, so installation was
  1765.   non-existent. --Bill Wohler <wohler@newt.com> [8.94]
  1766.  
  1767.   Procmail can be used to create mail-servers, mailing lists, sort
  1768.   your incoming mail into separate folders/files (real convenient when
  1769.   subscribing to one or more mailing lists or for prioritizing your
  1770.   mail), preprocess your mail, start any programs upon mail arrival
  1771.   (e.g. to generate different chimes on your workstation for different
  1772.   types of mail) or selectively forward certain incoming mail
  1773.   automatically to someone. --Stephen R. van den Berg
  1774.   <berg@pool.informatik.rwth-aachen.de> [8.94]
  1775.  
  1776.   ftp://ftp.informatik.rwth-aachen.de/pub/packages/procmail/procmail.tar.gz 160k
  1777.  
  1778.   For perl proficient users, there is a also mailagent 3.0, which can
  1779.   deliver directly to MH folders with unseen sequence update.  You can
  1780.   get a full email distribution of the latest release by sending an
  1781.   appropriate command to my own mailagent, such as:
  1782.  
  1783.     Subject: Command
  1784.  
  1785.     @SH maildist PATH mailagent -
  1786.  
  1787.   where PATH stands for YOUR email address, i.e. a path from me to
  1788.   you. --Raphael Manfredi <ram@acri.fr> [8.94]
  1789.  
  1790.   
  1791. Subject: Why slocal writes messages to system mailbox that from(1) can't read.
  1792. From: 7.2
  1793.  
  1794.   Upgrade to MH 6.8 and set the RPATHS option.  Better yet, use a more
  1795.   MH-like command instead: "scan -file $MAIL".  [1.93]
  1796.  
  1797.   
  1798. Subject: Where can I read about slocal and the format of .maildelivery?
  1799. From: 7.3
  1800.  
  1801.   See the slocal man page.
  1802.  
  1803.   Here is brief example of a .maildelivery file that stores messages
  1804.   to babble in a folder and the system mailbox, stores mh-users in a
  1805.   folder but not the system mailbox, and puts the rest in the system
  1806.   mailbox.
  1807.  
  1808.     to  mh-users  | A "/usr/local/lib/mh/rcvstore -create +lists/mh-users"
  1809.     cc  mh-users  | A "/usr/local/lib/mh/rcvstore -create +lists/mh-users"
  1810.     to  babble    | R "/usr/local/lib/mh/rcvstore -create +lists/babble"
  1811.     cc  babble    | R "/usr/local/lib/mh/rcvstore -create +lists/babble"
  1812.     default -     > ? /usr/spool/mail/wohler
  1813.  
  1814.   Your .forward file may look like (quotes necessary):
  1815.  
  1816.     "| /usr/local/lib/mh/slocal -user your_login"
  1817.  
  1818.   In some implementations, the "-user your_login" is not needed.  If
  1819.   not, manually running slocal with the flag will produce an error.
  1820.  
  1821.   See also chapter 11 in the MH book.
  1822.  
  1823.   Alternatives to slocal include deliver, procmail, and mailagent.
  1824.   Archie can help you find where they are kept.
  1825.  
  1826.   
  1827. Subject: How do I debug my .maildelivery file?
  1828. From: 7.4
  1829.  
  1830.   Use as many of the following as necessary.
  1831.  
  1832.   Put a message into a file and call slocal directly on it.
  1833.  
  1834.     /usr/local/lib/mh/slocal -user $USER -verbose -debug < test-msg
  1835.  
  1836.   Modify your .forward to look like:
  1837.  
  1838.     "|/bin/sh -c 'exec >> /tmp/out 2>&1; /usr/local/lib/mh/slocal
  1839.     -user $USER -verbose -debug'"
  1840.  
  1841.   Or modify a rule in .maildelivery to look like this:
  1842.  
  1843.     to foo | R "set -xv; exec >/tmp/out 2>&1;
  1844.     /usr/local/lib/mh/rcvstore +foo"
  1845.  
  1846.   The previous examples are broken up for readability; the text must
  1847.   appear on one line.
  1848.  
  1849.   See also MH book section 11.11. [3.93]
  1850.  
  1851.   
  1852. Subject: Why isn't slocal working?
  1853. From: 7.5
  1854.  
  1855.   If slocal doesn't appear to be doing anything, run the following
  1856.  
  1857.     /usr/local/lib/mh/slocal -user your_login -verbose < file
  1858.  
  1859.   where "file" is some message in a mail folder.  If you get something
  1860.   like:
  1861.  
  1862.     .maildelivery: ownership/modes bad (0, 154,154,0100666)
  1863.  
  1864.   your .maildelivery is writable by too many people.  Make it writable
  1865.   only by you by running "chmod 644 .maildelivery".
  1866.  
  1867.   See also "How do I debug my .maildelivery file?" [3.93]
  1868.  
  1869.  
  1870. Subject: ***** mh-e *****
  1871. From: 8.
  1872.  
  1873.  
  1874. Subject: Is there documentation for mh-e?
  1875. From: 8.1
  1876.  
  1877.   Yes, sort of.  Run "C-h m" (describe-mode) in both scan and
  1878.   letter modes to see which commands and variables are available.
  1879.   Browsing the code is also helpful.
  1880.  
  1881.   
  1882. Subject: How can mail aliases can be expanded in mh-e?
  1883. From: 8.2
  1884.  
  1885.   Typing C-c C-w will show you the expanded list of recipients.
  1886.   --Stephen Gildea <gildea@x.org> [5.94]
  1887.  
  1888.  
  1889. Subject: ***** Xmh *****
  1890. From: 9.
  1891.  
  1892.  
  1893. Subject: How can I get xmh to use Emacs as the editor?
  1894. From: 9.1
  1895.  
  1896.   The modifications to xmh to support an external editor, annotations,
  1897.   and an append command can be found in the these places.  --Bob
  1898.   Ellison <ellison@sei.cmu.edu>
  1899.  
  1900.   ftp.x.org         /R5contrib/xmh-mods-R5-1.7.Z            37k
  1901.   ftp.sei.cmu.edu    /pub/xmh/xmh-mods-R5-1.7.Z            37k
  1902.             /pub/xmh/xmh-mods-R6-1.0.Z            37k
  1903.  
  1904.   As of R5, xmh has a new action proc called XmhShellCommand.  A
  1905.   string parameter will be executed as a shell command with the
  1906.   currently selected messages as parameters (or the current message if
  1907.   there are no selected messages).
  1908.  
  1909.   Using this new action, a couple of shell scripts, a window version
  1910.   of emacs (e.g. xemacs) and some elisp code, xmh can use emacs as its
  1911.   editor instead of the built in Athena text widget editor.  This
  1912.   doesn't require any source code changes to xmh.  These are included
  1913.   in the Appendix "Switching xmh's editor".  --Andrew Wason
  1914.   <aw@bae.bellcore.com>
  1915.  
  1916.   
  1917. Subject: Does xmh support subfolders?
  1918. From: 9.2
  1919.  
  1920.   Yes. Create one by invoking "Create Folder" as usual, and enter
  1921.   something like: existing-folder/new-sub-folder. You can then access
  1922.   the subfolder by popping up a menu over the "existing-folder" button
  1923.   item.  --Steve Malowany <malowany@cenparmi.concordia.ca>
  1924.  
  1925.   But:
  1926.  
  1927.   The R5 version of xmh does *not* handle nested sub-folders.  If you
  1928.   create a folder as 'grab/some/bandwidth', xmh displays this
  1929.   folder name for the remainder of the session where it was created,
  1930.   BUT if you later re-run xmh, the folder is no longer visible to xmh.
  1931.   --John Cooper <jsc@saxon.Eng.Sun.COM>
  1932.  
  1933.   See also MH book section 15.6.2 (14.6.2).
  1934.  
  1935.   
  1936. Subject: How do I precede included messages with ">" when replying in xmh?
  1937. From: 9.3
  1938.  
  1939.   Include the following line in your ~/app-defaults/XMh file:
  1940.  
  1941.     Xmh*replyInsertFilter: "sed 's/^/> /'"
  1942.  
  1943.   --Len Makin <len@mel.dit.csiro.au>
  1944.  
  1945.   or,
  1946.  
  1947.     Xmh.ReplyInsertFilter: /usr/local/lib/mh/mhl -form repl.filter
  1948.  
  1949.   Using this means that you can chose to insert the original by use of
  1950.   the "Insert" button in the Draft message pane.  See "How do I
  1951.   include messages in repl with or without ">"?" to find examples of
  1952.   repl.filter. --Andy Linton <andy.linton@comp.vuw.ac.nz>
  1953.  
  1954.   See also MH book sections 15.1.4 (14.1.4), 16.3.3 (15.2.3).
  1955.  
  1956.  
  1957. Subject: ! Glossary
  1958. From: Appendix
  1959.  
  1960.   MH    Mail Handler
  1961.   POP3    Post Office Protocol, RFC 1225
  1962.   MMDF    Multi-channel Memo Distribution Facility
  1963.   MIME    Multipurpose Internet Mail Extensions, RFC 1341, 1563
  1964.   IMAP    Internet Message Access Protocol, RFC 1064, 1176
  1965.  
  1966.   
  1967. Subject: Acknowledgments
  1968. From: Appendix
  1969.  
  1970. I'd like to thank the following people for providing ideas on the
  1971. layout of this article:
  1972.  
  1973. Joe Wells <jbw@bigbird.bu.edu>          Richard M. Stallman <rms@gnu.ai.mit.edu>
  1974. David Elliott <dce@smsc.sony.com>     Tom Christiansen <tchrist@perl.com>
  1975. Eugene N. Miya <eugene@nas.nasa.gov>
  1976.  
  1977.  
  1978. We are also grateful to the individuals mentioned below and in the
  1979. text of this document who have provided answers or other information
  1980. to make this a better document.  I regret that it is possible that
  1981. some names have been accidently omitted.  I would also like to thank
  1982. all the readers of comp.mail.mh.
  1983.  
  1984. Kim F. Storm <storm@olicom.dk>          Edward Vielmetti <emv@ox.com>
  1985.  
  1986.   
  1987. Subject: Copyright and Warranty
  1988. From: Appendix
  1989.  
  1990.   Copyright 1994 Bill Wohler
  1991.  
  1992.   Permission to use, copy, distribute, and translate this document for
  1993.   any non-commercial purpose is hereby granted, provided that this
  1994.   copyright notice appears in all copies.  Commercial distributions
  1995.   require prior written consent.
  1996.  
  1997.   This article is distributed in the hope that it will be useful,
  1998.   but WITHOUT ANY WARRANTY; without even the implied warranty of
  1999.   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  2000.  
  2001.   
  2002. Subject: Switching xmh's editor
  2003. From: Appendix
  2004.  
  2005. #! /bin/sh
  2006. # This is a shell archive.  Remove anything before this line, then unpack
  2007. # it by saving it into a file and typing "sh file".  To overwrite existing
  2008. # files, type "sh file -c".  You can also feed this as standard input via
  2009. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  2010. # will see the following message at the end:
  2011. #        "End of shell archive."
  2012. # Contents:  README Xmh.ad xmh-command.el xmhcommand xmhemacs
  2013. # Wrapped by aw@jello on Fri Nov 15 17:10:34 1991
  2014. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  2015. if test -f 'README' -a "${1}" != "-c" ; then
  2016.   echo shar: Will not clobber existing file \"'README'\"
  2017. else
  2018. echo shar: Extracting \"'README'\" \(1269 characters\)
  2019. sed "s/^X//" >'README' <<'END_OF_FILE'
  2020. XThis is a short description of what to do with each of the enclosed files.
  2021. X
  2022. XXmh.ad
  2023. X  Merge this in with your xmh resources.  If you already have
  2024. X  user defined buttons, then you may need to renumber the
  2025. X  buttons in this resource file.
  2026. X
  2027. Xxmh-command.el
  2028. X  Byte compile this file and put it in your GNU emacs load-path.
  2029. X
  2030. Xxmhcommand
  2031. Xxmhemacs
  2032. X  Put these somewhere in your path.
  2033. X
  2034. X
  2035. XOnce you have installed these, restart the R5 xmh with the new
  2036. Xresources.  When you press the repl, forw or comp buttons
  2037. Xan xemacs window will come up with your draft message.
  2038. X
  2039. XOnce you have written your mail, save it and exit GNU emacs (C-xC-c).
  2040. XYou will be prompted if you want to send the current message.
  2041. XIf you enter 'y', the message will be sent and the output will
  2042. Xbe displayed in an emacs window (in case you use -verbose or -snoop).
  2043. XThen you will be prompted to exit emacs.  Enter 'y' when you are ready.
  2044. X
  2045. XIf you answered 'n' when prompted to send the message,
  2046. Xthen the draft message will be deleted and emacs will exit.
  2047. X
  2048. XYou can modify the Xmh.ad resources to add more buttons.
  2049. XAny MH command which accepts "+folder msg" can be used
  2050. X(e.g. a replx shell script which includes the body of the
  2051. Xmessage being replied to can be bound to a replx button)
  2052. X
  2053. X
  2054. XAndrew Wason
  2055. Xaw@bae.bellcore.com
  2056. END_OF_FILE
  2057. if test 1269 -ne `wc -c <'README'`; then
  2058.     echo shar: \"'README'\" unpacked with wrong size!
  2059. fi
  2060. # end of 'README'
  2061. fi
  2062. if test -f 'Xmh.ad' -a "${1}" != "-c" ; then
  2063.   echo shar: Will not clobber existing file \"'Xmh.ad'\"
  2064. else
  2065. echo shar: Extracting \"'Xmh.ad'\" \(457 characters\)
  2066. sed "s/^X//" >'Xmh.ad' <<'END_OF_FILE'
  2067. XXmh*CommandButtonCount:            3
  2068. X
  2069. XXmh*commandBox.button1.label:        repl
  2070. XXmh*commandBox.button1.translations:\
  2071. X    #override\n\
  2072. X    <Btn1Up>:    XmhShellCommand(xmhcommand y repl) unset()
  2073. X
  2074. XXmh*commandBox.button2.label:        forw
  2075. XXmh*commandBox.button2.translations:\
  2076. X    #override\n\
  2077. X    <Btn1Up>:    XmhShellCommand(xmhcommand y forw) unset()
  2078. X
  2079. XXmh*commandBox.button3.label:        comp
  2080. XXmh*commandBox.button3.translations:\
  2081. X    #override\n\
  2082. X    <Btn1Up>:    XmhShellCommand(xmhcommand n comp) unset()
  2083. END_OF_FILE
  2084. if test 457 -ne `wc -c <'Xmh.ad'`; then
  2085.     echo shar: \"'Xmh.ad'\" unpacked with wrong size!
  2086. fi
  2087. # end of 'Xmh.ad'
  2088. fi
  2089. if test -f 'xmh-command.el' -a "${1}" != "-c" ; then
  2090.   echo shar: Will not clobber existing file \"'xmh-command.el'\"
  2091. else
  2092. echo shar: Extracting \"'xmh-command.el'\" \(1294 characters\)
  2093. sed "s/^X//" >'xmh-command.el' <<'END_OF_FILE'
  2094. X;;; These functions are for use with xemacs and xmh.
  2095. X;;; The R5 xmh has a new action - XmhShellCommand which executes
  2096. X;;; a shell command with the current msg as an arg.
  2097. X;;; By executing something like:
  2098. X;;;    XmhShellCommand(xmhcommand repl)
  2099. X;;; you can use xemacs as your editor with xmh.
  2100. X;;;
  2101. X;;; The following elisp functions perform the basic whatnowproc functionality
  2102. X;;; (quitting and deleting, sending)
  2103. X;;;
  2104. X;;; Andrew Wason  aw@bae.bellcore.com
  2105. X
  2106. X
  2107. X;;; Override C-xC-c
  2108. X(define-key indented-text-mode-map "\C-x\C-c" 'xmh-command-send-or-delete)
  2109. X
  2110. X
  2111. X(setq mhdraft (getenv "mhdraft"))    ; save the filename of the draft
  2112. X
  2113. X
  2114. X(find-file mhdraft)            ; load the draft letter
  2115. X(indented-text-mode)
  2116. X(setq draft-buffer (current-buffer))    ; save the buffer the draft is in
  2117. X
  2118. X
  2119. X(defun xmh-command-send-or-delete ()
  2120. X  "Prompt to send or delete letter, then quit."
  2121. X  (interactive)
  2122. X  (set-buffer draft-buffer)
  2123. X  (if (y-or-n-p "Send message? ")
  2124. X      (progn
  2125. X    (save-buffer)                ; save the draft buffer
  2126. X    (message "Sending...")
  2127. X    (pop-to-buffer "MH mail delivery"); pop to a buffer for "send" output
  2128. X    (erase-buffer)
  2129. X    (call-process "send" nil t t mhdraft)    ; call MH "send"
  2130. X    (if (y-or-n-p "Exit? ")
  2131. X        (kill-emacs)))            ; exit emacs
  2132. X    (delete-file mhdraft)            ; delete the draft letter
  2133. X    (kill-emacs)))                ; exit emacs
  2134. END_OF_FILE
  2135. if test 1294 -ne `wc -c <'xmh-command.el'`; then
  2136.     echo shar: \"'xmh-command.el'\" unpacked with wrong size!
  2137. fi
  2138. # end of 'xmh-command.el'
  2139. fi
  2140. if test -f 'xmhcommand' -a "${1}" != "-c" ; then
  2141.   echo shar: Will not clobber existing file \"'xmhcommand'\"
  2142. else
  2143. echo shar: Extracting \"'xmhcommand'\" \(669 characters\)
  2144. sed "s/^X//" >'xmhcommand' <<'END_OF_FILE'
  2145. X#!/bin/sh
  2146. X# This shell should be invoked by the xmh XmhShellCommand() action as
  2147. X#   XmhShellCommand(xmhcommand y repl)
  2148. X#   XmhShellCommand(xmhcommand n comp) etc.
  2149. X# If the second arg is y, then the message list will be used.
  2150. X
  2151. X# We invoke the passed MH command on the identified message
  2152. X# (we must strip the message number and folder from the pathname)
  2153. X(if [ $1 = "y" ]
  2154. Xthen
  2155. X    $2 -whatnowproc xmhemacs +`dirname \`echo $3 | \
  2156. X        sed "s;\\\`mhpath +\\\`/;;"\`` `basename $3`
  2157. X
  2158. X# You can use this more readable version instead if you have ksh
  2159. X#    $2 -whatnowproc xmhemacs +$(dirname $(echo $3 | \
  2160. X#        sed "s;$(mhpath +)/;;")) $(basename $3)
  2161. X
  2162. Xelse
  2163. X    $2 -whatnowproc xmhemacs
  2164. Xfi)&
  2165. END_OF_FILE
  2166. if test 669 -ne `wc -c <'xmhcommand'`; then
  2167.     echo shar: \"'xmhcommand'\" unpacked with wrong size!
  2168. fi
  2169. chmod +x 'xmhcommand'
  2170. # end of 'xmhcommand'
  2171. fi
  2172. if test -f 'xmhemacs' -a "${1}" != "-c" ; then
  2173.   echo shar: Will not clobber existing file \"'xmhemacs'\"
  2174. else
  2175. echo shar: Extracting \"'xmhemacs'\" \(116 characters\)
  2176. sed "s/^X//" >'xmhemacs' <<'END_OF_FILE'
  2177. X#!/bin/sh
  2178. X# Invoke xemacs and load the xmh-command.el stuff.
  2179. X# xmhemacs is used by xmhcommand
  2180. Xxemacs -l xmh-command
  2181. END_OF_FILE
  2182. if test 116 -ne `wc -c <'xmhemacs'`; then
  2183.     echo shar: \"'xmhemacs'\" unpacked with wrong size!
  2184. fi
  2185. chmod +x 'xmhemacs'
  2186. # end of 'xmhemacs'
  2187. fi
  2188. echo shar: End of shell archive.
  2189. exit 0
  2190.  
  2191.   
  2192. Subject: babyl2mh.pl
  2193. From: Appendix
  2194.  
  2195. #!/usr/gnu/bin/perl
  2196. # incorporate an RMAIL babyl file into an MH folder
  2197. #
  2198. # usage: babyl2mh +folder babyl-file
  2199. #
  2200. # V. Khera <khera@cs.duke.edu> 17-JUL-1991
  2201.  
  2202. # where to find rcvstore
  2203. $rcvstore = "/usr/local/lib/mh/rcvstore";
  2204.  
  2205. #
  2206. # pull out command line args
  2207. #
  2208. die "usage: babyl2mh +folder babyl-file\n" unless @ARGV == 2;
  2209.  
  2210. $folder = shift;
  2211. # make sure folder name starts with a "+"
  2212. (substr($folder,0,1) eq "+") || (substr($folder,0,0) = "+");
  2213. $bfname = shift;
  2214.  
  2215. print "Incorporating RMAIL file $bfname into MH folder $folder\n";
  2216.  
  2217. #
  2218. # read in babyl file.
  2219. #
  2220. $/ = "\037";    # this separates the records in a babyl file
  2221. $* = 1;        # records are multi-lines
  2222.  
  2223. open(BABYL,$bfname) || die "Couldn't open $bfname\n";
  2224.  
  2225. $_ = <BABYL>;    # discard header.
  2226.  
  2227. $msgnum = 0;
  2228.  
  2229. while (<BABYL>) {
  2230.   chop;        # get rid of delimeter
  2231.   s/\f(.|\n)*\*\*\* EOOH \*\*\*\n//;    # remove duplicate header information
  2232.   open(RCVSTORE,"|" . $rcvstore . " $folder");
  2233.   print RCVSTORE $_;
  2234.   $msgnum++;
  2235.   print "Message $msgnum done.\n";
  2236. }
  2237.  
  2238.   
  2239. Subject: inco
  2240. From: Appendix
  2241.  
  2242. #!/bin/sh
  2243. # Usage: inco [from [folder]]
  2244. # "from" defaults to $HOME/Mail/outbound, "folder" to +inbox.
  2245.  
  2246. lispfile=/tmp/inco.$$.el
  2247. input=${1-$HOME/Mail/outbound}
  2248. tmpmbox=/tmp/inc.$$.mbox
  2249. folder=${2-+inbox}
  2250.  
  2251. if [ $# -ge 3 ]; then
  2252.     echo Usage: `basename $0` [ from [ folder ]]
  2253.     exit 2
  2254. fi
  2255.  
  2256. trap "rm -f $lispfile $tmpmbox ; exit 1" 1 2 15
  2257.  
  2258. touch $tmpmbox
  2259. chmod 600 $tmpmbox
  2260.  
  2261. echo '(rmail-input "'$input'")
  2262. (rmail-last-message)
  2263. (setq last (rmail-what-message))
  2264. (rmail-show-message 1)
  2265. (while (not (equal (rmail-what-message) last))
  2266.   (rmail-output "'$tmpmbox'")
  2267.   (rmail-delete-forward nil))
  2268. (rmail-output "'$tmpmbox'")
  2269. (kill-buffer (current-buffer))
  2270. ' > $lispfile
  2271.  
  2272. emacs -batch -l $lispfile
  2273. inc -file $tmpmbox $folder
  2274.  
  2275. > $input
  2276. rm -f $lispfile $tmpmbox
  2277.  
  2278.   
  2279. Subject: srvrsmtp.c patch
  2280. From: Appendix
  2281.  
  2282. >From the 5.67 sources:
  2283.  
  2284. *** srvrsmtp.c-    Mon Feb 22 12:25:54 1993
  2285. --- srvrsmtp.c    Mon Feb 22 12:29:09 1993
  2286. ***************
  2287. *** 384,389 ****
  2288. --- 384,395 ----
  2289.               message("250", "Reset state");
  2290.               if (InChild)
  2291.                   finis();
  2292.  
  2293.               /* clean up a bit if running in parent */
  2294.               hasmail = FALSE;
  2295.               dropenvelope(CurEnv);
  2296.               CurEnv = newenvelope(CurEnv);
  2297.               CurEnv->e_flags = BlankEnvelope.e_flags;
  2298.               break;
  2299.  
  2300.             case CMDVRFY:        /* vrfy -- verify address */
  2301.  
  2302.   
  2303. Subject: + mhn.c patch
  2304. From: Appendix
  2305.  
  2306. *** mh-6.8.3/uip/mhn.c.org    Wed Dec  1 05:01:36 1993
  2307. --- mh-6.8.3/uip/mhn.c    Fri Jun  3 12:38:04 1994
  2308. ***************
  2309. *** 1014,1019 ****
  2310. --- 1014,1020 ----
  2311.   #include "../h/mhn.h"
  2312.   
  2313.   
  2314. + #undef si_value
  2315.   struct str2init {
  2316.       char   *si_key;
  2317.       int        si_value;
  2318.  
  2319.  
  2320. Local Variables:
  2321. mode: outline
  2322. outline-regexp: "^Subject:"
  2323. fill-prefix: "  "
  2324. End:
  2325.